updateReplenishmentOrder
Since pyck v0.27.0
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
id |
ID! | ||
input |
UpdateReplenishmentOrderInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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)>" }}