Update Policy
Updates the Replenishment Policy identified by the id and policy_id path
parameters. Only the properties present in the body are applied; an absent one
keeps its stored value.
Changing a property that affects evaluation — the subject, Location Profile, DOI band, demand period, activity, or precedence — invalidates the warehouse’s published Replenishment results and requests a rebuild. Renaming a Policy does not. There is no response body.
Authorizations
Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.
Path Parameters
The id of the referenced Warehouse.
The id of the referenced ReplenishmentPolicy.
Body
Properties of a Replenishment Policy to change. Only the properties present in
the body are applied; an absent one keeps its stored value rather than being
cleared. The warehouse cannot be changed, and every derived or index-owned
property of ReplenishmentPolicy is rejected if present.
The user-visible Policy name; must be unique within the warehouse.
1 - 255"Fast Movers - Forward Pick"
Whether the Policy participates in Product evaluation. Changing this invalidates the warehouse's published Replenishment results.
Policy precedence; lower values are evaluated first, with id as the tie-break.
0 <= x <= 6553510
Merchant IDs the Policy selects. null or an empty list means every Merchant.
100x >= 1Product Profile IDs the Policy selects. An empty list means Product Profiles do not restrict the subject.
100x >= 1How the selected Product Profiles are matched against a Product. The none
mode requires at least one Product Profile.
any, all, none Handling Class IDs the Policy selects. Each must be assigned to this warehouse. An empty list means Handling Classes do not restrict the subject.
100x >= 1The id of the Location Profile supplying the target group. It must belong
to this warehouse and already have a published revision.
x >= 13
The Product Velocity window used to derive daily demand. Must equal one of the configured Product Velocity periods.
1 <= x <= 6553530
The coverage threshold below which an assigned Product is flagged for Replenishment.
0 <= x <= 999999.99997
The target coverage used to calculate the required replenishment quantity.
Must not be lower than trigger_doi_days; equal values are accepted.
0 <= x <= 999999.999921
Response
OK - The operation completed successfully and there is no response body.