Skip to main content

Acknowledge inbound stock for a SKU

POST 

/stock-receipts

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Stages a quantity of a SKU as received into the building (publishes StockReceived) without assigning it to a bin yet. This does NOT create a StockUnit aggregate: a StockUnit requires both an item-scan and a location-scan by construction (the stow-requires-both invariant), and a staged receipt has no bin yet. The durable, addressable record only starts at StowStock — that is why this operation returns 202 Accepted rather than 201 Created: there is no resource here to hand back a Location for. Superseded by the inbound-receiving handover (K24, ADR 0037: inbound-receiving publishes com.warehouse.wms.inbound-receiving.receipt.ReceiptLineReceived, whose Good lines are booked as staged stock through the same ReceiveStock use case); this endpoint stays as the documented manual fallback; removal planned with the next breaking window.

Request​

Responses​

Receipt accepted and staged; not yet stowed to a bin.

Response Headers
    Idempotency-Replayed

    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.