Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

executeInventoryRepositoryMovement

Audience: Programmer

Served by: inventory

Arguments

Name
Type
Default
Description

id

ID!

Returns

InventoryRepositoryMovementOutput

Example

Executes a pending repository movement, transferring all items from the source repository to the destination repository and updating stock levels.

mutation ExecuteInventoryRepositoryMovement($id: ID!) {
  executeInventoryRepositoryMovement(id: $id) {
    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

Last updated

Was this helpful?