Skip to main content

Generate a slot plan

POST 

/slot-plans

Computes a new Draft plan for a site from the local demand, product and layout copies and stores it. siteId defaults to the configured default site; lookbackDays (1 to 365, default 28) sets the demand window, which ends now and starts lookbackDays earlier. The plan lists its assignments, the moves against the site's current Approved plan and the SKUs it could not place, each with a reason. Requires an Idempotency-Key; replaying the same key and body returns the original plan for 24 hours after the first answer (then the key is forgotten and the request executes again).

Request​

Responses​

The Draft plan was generated.

Response Headers
    Idempotency-Replayed

    true when the response is the stored answer of an earlier request with the same Idempotency-Key; absent on the first execution.

    Location

    Path of the new plan.