Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

createReplenishmentOrder

Served by: inventory

Name Type
input CreateReplenishmentOrderWithItemsInput!

ReplenishmentOrderOutput

Creates a replenishment order with one or more order items. Each item specifies a SKU and the quantity to replenish.

mutation CreateReplenishmentOrder($input: CreateReplenishmentOrderWithItemsInput!) {
createReplenishmentOrder(input: $input) {
eventCount
replenishmentOrder {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
supplierID
tenantID
updatedAt
updatedBy
}
transactionID
}
}

Variables

{
"input": {
"items": [
{
"quantity": 100,
"sku": "RESTOCK-SKU-001"
}
]
}
}