Skip to main content

Get Latest Plan

GET 

/api/inventory-forecasting/runs/latest

Get the most recently completed make / buy / transfer plan, with its warehouses. Returns data: null when no plan has been built yet. MRP runs started with forecast_source=demand_planning and no run id read this plan.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Query: sales_forecast=1 returns the newest plan built from sales history (Sales Based) — the only kind that carries a demand forecast, and the one MRP forecasts from.

Request​

Responses​

OK

Response Headers
    Content-Type