Raise a replenishment request by hand
POST/replenishments
Raises a request for a SKU of a site outside the periodic detection. The
forward bin is the one the site's latest approved slot plan assigns to the
SKU (422 no-forward-assignment when there is none). Without quantity
the detector rules size it from the current levels (a request is then
raised only when the pick face is at or below its minimum, otherwise
422 nothing-to-replenish; 422 no-source-stock when the face is low
but nothing can be moved); with
quantity the same invariants apply: at least 1, the projected level plus
the quantity at most the policy maximum (so a policy is required, 422
no-policy), at most the source bin's usable stock (422 no-source-stock).
At most one request is open per forward bin and SKU (409
replenishment-already-open). Publishes ReplenishmentRequested. Requires
an Idempotency-Key; replaying the same key and request returns the
original answer with Idempotency-Replayed: true.
Request
Responses
- 201
- 400
- 409
- 422
- 500
The request was raised.
Response Headers
Path of the new request.
true when this response is the stored answer of an earlier request with the same Idempotency-Key and the same method, path and body (the handler did not run again). Absent on the first execution.
Malformed JSON body, an unknown field, or an invalid path, query or header parameter.
The resource is in the wrong state for the command, another request changed it first, or the Idempotency-Key was already used with a different request (idempotency-key-reused).
The request is well-formed but the current state does not allow it.
Unexpected server error.