201 Successful Response
Schema: RecomputeForecastResponse
-
statusstring required -
forecasted_skusinteger required -
by_methodobject
/api/v1/inventory/forecast/recompute
Recompute and persist statistical demand forecasts and safety stock for every SKU with recent sales. Normally run nightly by a background job; this endpoint forces an immediate refresh.
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Schema: RecomputeForecastResponse
status
string
required forecasted_skus
integer
required by_method
object
Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object