Build Forecast (Single Supplier)
POST/api/inventory-forecasting/build-single
Build a forecast for a single supplier. If product count is large, dispatches a background job and returns a job_id for polling. Otherwise returns the result synchronously.
Authentication: Requires Bearer token.
Response type field: sync (includes data) or async (includes job_id for status polling).
Returns 422 if too many products.
Request
Responses
- 200
Successful response