Stow a sealed case into a case bin
POST/containers/:lpn/stowages
Scan the LPN, scan the location (ADR 0045). The bin must accept sealed cases (handling unit CASE or PALLET, as published by facility-layout); a bin whose handling unit is unknown or EACH is 409 bin-handling-unit-mismatch (fail closed). The first stow sets the container's site from the bin's site (a carton event carries no site) and creates the SEALED_CASE stock unit holding the case's eaches; moving a stowed container to another bin of the same site is allowed, to another site is 409 container-not-at-site. Stowing into the bin it is already in is a no-op.
Behind the Idempotency-Key middleware like the other creating POSTs (ADR 0018).
Request
Responses
- 200
- 400
- 404
- 409
- 500
The stowed container.
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.
Malformed body, an empty bin, or the Idempotency-Key header absent.
The container or the bin is unknown.
The bin does not accept sealed cases (bin-handling-unit-mismatch), the container is not SEALED (container-not-sealed), the bin is in another site (container-not-at-site), the bin has no room (bin-full), or a concurrent writer changed it (concurrent-modification). The same Idempotency-Key reused with a different method, path or body is also a 409 (idempotency-key-reused).
An unexpected internal error occurred.