updateInventoryCollectionMovement
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
id |
ID! |
input |
UpdateInventoryCollectionInput! |
Returns
Section titled “Returns”UpdateCollectionMovementOutput
Example
Section titled “Example”Updates an existing inventory collection movement. Only the handler field can be changed after creation.
mutation UpdateInventoryCollectionMovement($id: ID!, $input: UpdateInventoryCollectionInput!) { updateInventoryCollectionMovement(id: $id, input: $input) { eventCount inventoryCollection { createdAt createdBy data dataTypeID dataTypeSlug deletedAt deletedBy handler id tenantID updatedAt updatedBy } transactionID }}Variables
{ "id": "<collection movement ID>", "input": { "handler": "handler-updated-01" }}