Skip to main content

Persist Forecast Run Lines

POST 

/api/inventory-forecasting/schedule-runs/:runId/lines

Build a forecast from the supplied configuration and store its per-line breakdown against an existing forecast run. The work runs in the background; the response returns immediately with a job reference to poll for progress.

Authentication: Requires Bearer token.

Path parameter: runId - the forecast run to attach the persisted lines to.

Body: configuration (required) - the full forecast configuration (forecast type, stock targets, filters, and demand modifiers) to build from.

Returns 202 Accepted with a job reference (tracked_job_log_id).

Request

Responses

Accepted

Response Headers
    Content-Type