Confirm a reservation's physical pick
POST/reservations/:id/pick-confirmations
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Consumes a reservation: for every Allocation it holds, the allocated quantity is physically removed from its StockUnit (StockUnit transitions toward PICKED/REMOVED) and the corresponding bin capacity is released. This is a terminal, one-way command on the resource in the domain command style (not forced into PUT/PATCH) — a reservation that is already resolved, expired, or has no allocations cannot be confirmed again. Superseded by the TaskCompleted consumer (K37: fulfillment-execution's TaskCompleted for a PICK task confirms the reservation — ADR 0035 / ADR 0036); removal planned with the next breaking window.
Request
Responses
- 204
- 400
- 404
- 409
- 500
Pick confirmed; reservation consumed.
Response Headers
Present, with the value true, ONLY when this response is a replay of the stored answer for the request's Idempotency-Key (the handler did not run again). The first execution of a key never carries it, and neither does a retry of a refusal that was not stored (ADR 0053: concurrent-modification and every refusal that depends on state that can change): that retry executes again.
The Idempotency-Key header is missing (idempotency-key-required) or is not 1-128 printable ASCII characters (idempotency-key-invalid).
No reservation exists with this id, or (in a data-consistency fault) one of its allocated stock units (stock-unit-not-found) or bins (bin-not-found) is missing.
The reservation cannot be confirmed: already resolved, expired, has no allocations, or the pick quantity/bin release is inconsistent with current stock state — or a racing request modified the same reservation, stock unit, or bin first (ADR 0019 — re-fetch and retry). The same Idempotency-Key reused with a different method, path or body is also a 409 (idempotency-key-reused).
An unexpected internal error occurred.