PUT
/
v1
/
companies
/
{company_id}
/
forecast
curl --request PUT \
  --url https://nueborder.com/api/v1/v1/companies/{company_id}/forecast \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "carbonPrice": 15,
  "discount": 0.1,
  "importRegion": "EU",
  "reportingPeriod": "Q1",
  "year": 2023,
  "yoyChange": 0.05
}'
{
  "message": "Operation completed successfully",
  "status": 200
}

Authorizations

Authorization
string
header
required

Provide your Bearer token in the format: Bearer <your_api_key>

Path Parameters

company_id
string
required

Unique identifier of the company

Body

application/json

Forecast settings configuration

Forecast Setting defines configuration parameters.

Response

200
application/json

Forecast settings updated successfully

A standard successful API response.