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

createInventoryRepositoryMovement

Served by: inventory

Name Type
input CreateRepositoryMovementInput!

InventoryRepositoryMovementOutput

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>"
}
}