Skip to main content

Cancel MRP Run

POST 

/api/manufacturing/mrp/runs/:mrpRun/cancel

Stop a queued or running MRP run. The run is marked cancelled and the background job that plans it stops at its next checkpoint, so anything it had already written stays on the run until the run is discarded. Authorization: requires the mrp.run permission and a token carrying the mrp:run scope (manufacturing:write also satisfies it). Path param: mrpRun = MRP run id. Returns 422 when the run has already finished — only a queued or running run can be cancelled.

Required scope: mrp:run|manufacturing:write

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

Request

Responses

OK

Response Headers
    Content-Type