Skip to main content

Cancel an open replenishment request

POST 

/replenishments/:requestId/cancellations

Moves a Requested request to Cancelled with reason OPERATOR and publishes ReplenishmentCancelled. Cancelling a request that is already Completed or Cancelled is a 409 replenishment-not-open. Requires an Idempotency-Key. A request already planned or released as floor work is not recalled by this service; the downstream work completes or is cancelled by its own context.

Request​

Responses​

The request is now Cancelled.

Response Headers
    Idempotency-Replayed

    true when this response is the stored answer of an earlier request with the same Idempotency-Key and the same method, path and body (the handler did not run again). Absent on the first execution.