Get one SKU's demand forecast detail

GET /api/v1/inventory/forecast/skus/{variant_id}

Return a single SKU's statistical forecast (curve, safety stock, reorder point, order-up-to, accuracy) together with its recent actual weekly demand history, so the UI can overlay history vs forecast with a confidence band. Read-only.

Operation ID: get_sku_forecast_detail_api_v1_inventory_forecast_skus__variant_id__get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

variant_id string required

Responses

200 Successful Response

variant_id string required
sku string
variant_name string
forecast SkuForecastItem
history array · WeeklyDemandPoint WeeklyDemandPoint
2 fields
week_start string required
units number required

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object