Fill a tote with loose eaches at its current bin
POST/totes/:lpn/fills
Scan the item, scan the tote (ADR 0054): the same semantics, placement checks and events as POST /stowages, at the bin the tote is in (the decant station). Creates one stock unit of the SKU in the tote, raises ItemStowed, LocationRecorded, BinStockLevelChanged and ToteFilled. A tote in no bin is 409 tote-not-placed: stow it first.
Behind the Idempotency-Key middleware like every other POST (ADR 0018).
Request
Responses
- 201
- 400
- 404
- 409
- 422
- 500
The tote with its contents, the new stock unit included.
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 sku (empty-sku), a malformed ownerRef (invalid-owner-ref), or the Idempotency-Key header absent.
The tote, or the bin it is in, is unknown.
The tote is in no bin (tote-not-placed), the bin has no room (bin-full), the SKU fails the 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), or a concurrent writer changed the bin or the tote (concurrent-modification). The same Idempotency-Key reused with a different method, path or body is also a 409 (idempotency-key-reused).
Quantity present but not a positive number.
An unexpected internal error occurred.