Skip to main content

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​

The request was raised.

Response Headers
    Location

    Path of the new request.

    Idempotency-Replayed

    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.