Stow a tote and all its contents into a bin
POST/totes/:lpn/stowages
Scan the tote, scan the location (ADR 0054): the bin becomes the tote's logical location. In one transaction the destination is occupied by the contents' eaches, the source bin released, every stock unit of the tote moved, LocationRecorded raised per unit, BinStockLevelChanged for both bins and ToteStowed published. The first stow of a new tote only places it. Into the bin it is already in, nothing changes. A tote holding reserved stock is 409 tote-reserved: each allocation names its pick bin (ADR 0025). An AutomatedStorage bin accepts a tote: it holds container stock only.
Behind the Idempotency-Key middleware like every other POST (ADR 0018).
Request
Responses
- 200
- 400
- 404
- 409
- 500
The stowed tote and its contents.
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 tote or the bin is unknown.
The bin is in another site than the tote (container-not-at-site), the tote holds reserved stock (tote-reserved), the bin has no room (bin-full), a SKU in the tote fails the destination bin's placement rules (hazmat-zone-required, temperature-class-mismatch, hazmat-class-incompatible), the facility-layout lookup is unavailable for a Hazmat or TemperatureSensitive SKU (location-classification-unavailable), a unit in the tote is held or unlocated (unit-held, unit-unlocated), or a concurrent writer changed a bin, a unit or the tote (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.