Skip to content

updateReplenishmentOrder

Served by: inventory

Name Type
id ID!
input UpdateReplenishmentOrderInput!

ReplenishmentOrderOutput

Updates an existing replenishment order. Supply any fields to change; omitted fields are left unchanged.

mutation UpdateReplenishmentOrder($id: ID!, $input: UpdateReplenishmentOrderInput!) {
updateReplenishmentOrder(id: $id, input: $input) {
eventCount
replenishmentOrder {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
supplierID
tenantID
updatedAt
updatedBy
}
transactionID
}
}

Variables

{
"id": "<replenishment order ID>",
"input": {
"supplierID": "<supplier UUID (optional)>"
}
}