Create Inventory Collection Movement
createInventoryCollectionMovement Mutation
Creates a collection of related item movements as a single operation in the inventory system.
Arguments
input
CreateCollectionMovementInput!
Input data for creating the collection of movements
Return Type
CreateCollectionMovementOutput - Contains the ID of the created collection and the list of movements.
Input Fields
CreateCollectionMovementInput:
dataTypeID
UUID
Optional data type ID for the collection
dataTypeSlug
String
Optional data type slug for the collection
data
Map
Custom data associated with the collection
collection
[CollectionMovementArrayInput]
Required array of movement operations to perform
handler
String
Handler for the collection movement
CollectionMovementArrayInput:
handler
String!
Required handler for this specific movement
dataTypeID
UUID
Optional data type ID for this movement
dataTypeSlug
String
Optional data type slug for this movement
data
Map
Custom data for this movement
fromID
ID!
Required source repository ID
toID
ID!
Required destination repository ID
itemID
ID
Optional item ID (if applicable)
quantity
Float
Optional quantity (if applicable)
repositoryID
ID
Optional repository ID for repository-specific operations
orderID
ID
Optional order ID for order-related movements
Usage Example
Last updated
Was this helpful?
