Trigger a forecast of all available inventory
The JSON object with optional parameters for the forecasts.
Parameters to forecast triggers endpoints.
sampling
- integer
0 to 3
The level of sampling to set in the forecast request(s) being triggered. Defaults to the default sampling defined for the network.
startDate
- date
The start date of the forecast request(s) being triggered. Defaults to the current date.
endDate
- date
The end date of the forecast request(s) being triggered. Defaults to the date given by default date range defined for the network.
Response when a forecast is successfully triggered.
200 Normal response, containing a JSON object with the result of the forecast trigger.
- type
success
- forecastId
The ID of the triggered forecast.
curl --request POST \
--url https://api.kevel.co/v1/forecaster/trigger-inventory-forecast \
--header 'accept: application/json' \
--header 'content-type: application/json'
{
"type": "string",
"forecastId": "string"
}