Keep shelves replenished
Set how reorder suggestions are computed for a scope, read the maths per item, and see what to reorder — nothing is ordered until you raise the purchase orders.
Procurement · a play in 3 steps.
In the office
Set how reorder suggestions are computed for a scope, read the maths per item — minimum, maximum, lead time, safety stock — and see what to reorder from the sales pace and the stock levels. Nothing is ordered from this page: a suggestion becomes stock only when a purchase order is raised.
Where it starts: the office’s Replenishment rules page.

Step 1. Set how suggestions are computed for the scope.
Step 2. Read the reorder maths per item — min/max, lead times, safety stock.
Step 3. See what to reorder from your sales pace and stock levels.
What you see
The example shop took 26 deliveries last month; the suggestions on this page are where the next ones start.
Try it
- Open Replenishment rules and read the rule for the back room.
- Open the reorder maths for one item and read its minimum, maximum and lead time.
- Read the suggestions and compare them with what is on the shelf.
Walked with screenshots in the receiver’s manual: chapter 6 — Keep the shelves replenished
For developers — the calls
The steps
- Set how suggestions are computed for the scope. — createReplenishmentConfig
- Read the reorder maths per item — min/max, lead times, safety stock. — replenishmentParameters
- See what to reorder from your sales pace and stock levels. — replenishmentSuggestions
The calls
Every operation this use case runs, in the order it first appears, with the request and the response its reference page shows.
createReplenishmentConfig
createReplenishmentConfig — mutation · Create a new replenishment settings — how reorder suggestions are computed for a scope at your organization.
Example request
mutation ExampleCreateReplenishmentConfig($input: NewReplenishmentConfigInput!) {
createReplenishmentConfig(input: $input) {
id
sysId
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
organizationId
logicalFacilityId
categoryId
styleId
seasonId
brandId
replenishEnabled
minUnits
maxUnits
daysOfSupplyTarget
safetyStockUnits
reorderMultipleUnits
reviewCadenceDays
abcClassOverride
reserveFloorUnits
transferableExcess
allocationWeight
}
}Variables:
{
"input": {
"caption": "Blue jeans"
}
}Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.
Example response
{
"data": {
"createReplenishmentConfig": {
"id": "01900000-0000-7000-8000-f62d56730000",
"sysId": "RP-EXMP-0000-000F",
"type": "ReplenishmentConfig",
"caption": "Blue jeans",
"status": "active",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 0,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"organizationId": "01900000-0000-7000-8000-1971e30a0000",
"logicalFacilityId": "01900000-0000-7000-8000-10c08c590000",
"categoryId": "01900000-0000-7000-8000-afb3e5910000",
"styleId": "01900000-0000-7000-8000-5467ec760000",
"seasonId": "01900000-0000-7000-8000-14f06c780000",
"brandId": "01900000-0000-7000-8000-6d1c7e960000",
"replenishEnabled": true,
"minUnits": "<min units>",
"maxUnits": "<max units>",
"daysOfSupplyTarget": 1,
"safetyStockUnits": "<safety stock units>",
"reorderMultipleUnits": "<reorder multiple units>",
"reviewCadenceDays": 1,
"abcClassOverride": "A",
"reserveFloorUnits": "<reserve floor units>",
"transferableExcess": true,
"allocationWeight": 1
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}replenishmentParameters
replenishmentParameters — query · The reorder maths per item — min/max, lead times, safety stock — that replenishment suggestions use.
Example request
query ExampleReplenishmentParameters($variantId: ID!, $logicalFacilityId: ID!) {
replenishmentParameters(variantId: $variantId, logicalFacilityId: $logicalFacilityId) {
variantId
logicalFacilityId
organizationId
matchedConfigIds
}
}Variables:
{
"variantId": "01900000-0000-7000-8000-8433b0260000",
"logicalFacilityId": "01900000-0000-7000-8000-10c08c590000"
}Example response
{
"data": {
"replenishmentParameters": {
"variantId": "01900000-0000-7000-8000-8433b0260000",
"logicalFacilityId": "01900000-0000-7000-8000-10c08c590000",
"organizationId": "01900000-0000-7000-8000-1971e30a0000",
"matchedConfigIds": [
"01900000-0000-7000-8000-5a6a12f50000"
]
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}replenishmentSuggestions
replenishmentSuggestions — query · What to reorder — suggested purchase quantities from your sales pace and stock levels.
Example request
query ExampleReplenishmentSuggestions($logicalFacilityId: ID) {
replenishmentSuggestions(logicalFacilityId: $logicalFacilityId) {
examined
inScope
partial
nextToken
}
}Variables:
{
"logicalFacilityId": "01900000-0000-7000-8000-10c08c590000"
}Example response
{
"data": {
"replenishmentSuggestions": {
"examined": 1,
"inScope": 1,
"partial": true,
"nextToken": "<the cursor from the previous page>"
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}