Skip to main content

Complete a BREAK_CASE task by breaking the sealed case in inventory-storage

POST 

/tasks/:id/case-breaks

A BREAK_CASE task (ADR 0054) is created when an each pick finds only a sealed case at its source. Completing it asks inventory-storage to break the container (POST /containers/{lpn}/case-breaks) into the loose bin, with an Idempotency-Key stable per task, and only then completes the task and publishes TaskCompleted. If inventory-storage cannot be reached the task stays claimed (503); a retry does not break twice.

Request​

Responses​

The case was broken and the task completed. No response body.

Response Headers
    Idempotency-Replayed

    Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.