replenishmentConfigs
query · in the family Replenishment config
What it does
The replenishment config list — each entry is the replenishment settings — how reorder suggestions are computed for a scope.
The ReplenishmentConfigs your organization group holds today. Doomed records leave the listing but stay readable by id; inactive ones stay listed.
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Reading your records — Looking up and listing the records of your organization.
Roles that may call it:
- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
- An API key whose scope allows
api:replenishmentConfigs
What happens
Reads only — changes nothing.
Returns
ReplenishmentConfig [ReplenishmentConfig!]! — A replenishment config — ONE cell of the multi-axis planning parameter matrix: a set of axes naming a scope (absent = all — the sparse matrix; Location = organizationId XOR logicalFacilityId · Merchandise = categoryId XOR styleId · seasonId · brandId, each singular) + a sparse block of parameters (at least one — the substance rule). Group-scoped like a Brand (parent = the org group). The axes are the cell identity — immutable at birth (re-target = create + doom); parameter values stay editable (nothing clears — removing a parameter = doom + create). the collision rule: an active sibling with the same normalized axis tuple AND an intersecting SET-parameter set refuses CONFLICT/IDENTITY_TAKEN naming the holder + the intersecting parameters (same-tuple disjoint-parameter cells are legal — per-parameter semantics; an inactive cell neither resolves nor collides, so reactivate re-runs the gate). Specificity (the.2 per-parameter resolution): count of set axes, then the locked axis order Location > Merchandise > Season > Brand. A NON-doomed cell blocks its axis targets dooms (LF/Organization/Category/Style/Season/Brand); deactivate stays free.
Example request
query ExampleReplenishmentConfigs {
replenishmentConfigs {
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
}
}Example response
{
"data": {
"replenishmentConfigs": [
{
"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": 1,
"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": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)