createInventoryRepositoryMovement
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
input |
CreateRepositoryMovementInput! |
Returns
Section titled “Returns”InventoryRepositoryMovementOutput
Example
Section titled “Example”Creates a repository movement record to transfer all items from one repository to another. The movement is not executed until ExecuteInventoryRepositoryMovement is called.
mutation CreateInventoryRepositoryMovement($input: CreateRepositoryMovementInput!) { createInventoryRepositoryMovement(input: $input) { eventCount inventoryRepositoryMovement { blockedBy collectionID createdAt createdBy data dataTypeID dataTypeSlug deletedAt deletedBy executed executedAt fromID handler id orderID position repositoryID tenantID toID updatedAt updatedBy } transactionID }}Variables
{ "input": { "handler": "operator-01", "repositoryID": "<repository ID to move>", "toID": "<destination repository ID>" }}