Create Inventory Item Movement
Create Inventory Item Movement Mutation
Creates a new item movement order to transfer inventory between repositories.
Arguments
input
CreateInventoryItemMovementInput!
Input data for creating the movement
Return Type
InventoryItemMovementOutput - Contains the created movement and any triggered workflows.
itemMovement
ItemMovement!
The created item movement
workflows
[TemporalWorkflow]
Any workflows triggered by this operation
Input Fields
CreateInventoryItemMovementInput:
fromRepositoryID
UUID!
Source repository ID
toRepositoryID
UUID!
Destination repository ID
itemID
UUID!
ID of the item to move
quantity
Int!
Quantity to move
dataTypeID
UUID
Optional data type ID
dataTypeSlug
String
Optional data type slug
data
Map
Custom data for the movement
collectionID
UUID
Optional collection movement ID
Usage Example
Notes
Movement validates stock availability (unless from virtual repository)
Created in pending state - use
executeInventoryItemMovementto executeCan be part of a collection for coordinated execution
May be blocked if insufficient stock or business rules prevent it
Last updated
Was this helpful?
