This page was automatically generated from tracezilla’s Swagger API documentation 2026-07-17
PUT /forecasting/demand/{skuId}/{forecastScenarioId}/{periodKey}
Create or update demand forecast
Description
Create or update demand forecast for a specified SKU and period
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| skuId | required | Id of the sku. | |
| forecastScenarioId | required | Id of the forecast scenario. | |
| periodKey | required | Key of the period. Day keys starts with a d-* (d-2027-01-01), month keys starts with m-* (m-2027-01) and week keys starts with w-* (w-2026-42) |
Request body
Description
Data to store.
Required
This parameter is required.
Request body JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"properties": {
"qty_sold": {
"description": "Expected sold quantity",
"format": "double",
"example": 20.22
},
"customer_id": {
"description": "Id of customer - if not set this will be a forecast for undefined customers",
"format": "uuid",
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"response_include_quantities": {
"description": "If quantities should be included in the response",
"format": "bool",
"example": true
}
},
"type": "object"
}
Responses
200
successful operation
Response content JSON schema
1
2
3
4
5
6
7
{
"properties": {
"description": "Will only be included if *response_include_quantities* is set to true! Forecast demand quantities for the updated SKU keyed by the key period following the same pattern as in GET /forecasting/demand",
"type": "object"
},
"type": "object"
}
406
not acceptable
500
internal server error