Error
Replenishment
Set a reorder policy (seuil min/max) for one SKU × store
Inserts or replaces the min/max reorder-point policy for one SKU in one store (upsert by SKU × store). maxQuantity must be greater than or equal to minQuantity.
PUT
Error
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Body
application/json
SKU digest (64-hex) the policy applies to.
Pattern:
^[0-9a-f]{64}$Store (magasin) the policy applies to.
Minimum string length:
1On-hand level at or below which the SKU is flagged for reorder.
Required range:
0 <= x <= 9007199254740991Target on-hand level a suggestion replenishes up to (>= minQuantity).
Required range:
0 <= x <= 9007199254740991
