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

updateInventoryItemMovement

Served by: inventory

Name Type
id ID!
input UpdateItemMovementInput!

InventoryItemMovementOutput

Updates a pending inventory item movement. Only non-immutable fields (handler, blockedBy) can be changed after creation. Executed movements cannot be updated or deleted.

mutation UpdateInventoryItemMovement($id: ID!, $input: UpdateItemMovementInput!) {
updateInventoryItemMovement(id: $id, input: $input) {
eventCount
inventoryItemMovement {
blockedBy
collectionID
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
executed
executedAt
fromID
handler
id
itemID
orderID
position
quantity
tenantID
toID
updatedAt
updatedBy
}
transactionID
}
}

Variables

{
"id": "<item movement ID>",
"input": {
"blockedBy": "<movement ID that blocks this one (optional)>",
"handler": "operator-updated"
}
}