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

createInventoryItemMovement

Audience: Programmer

Served by: inventory

Arguments

Name
Type
Default
Description

Returns

InventoryItemMovementOutput

Example

Creates an item movement record to transfer a quantity of an inventory item from one repository to another. The movement is not executed until ExecuteInventoryItemMovement is called.

mutation CreateInventoryItemMovement($input: CreateItemMovementInput!) {
  createInventoryItemMovement(input: $input) {
    eventCount
    inventoryItemMovement {
      blockedBy
      collectionID
      createdAt
      createdBy
      data
      dataTypeID
      dataTypeSlug
      deletedAt
      deletedBy
      executed
      executedAt
      fromID
      handler
      id
      itemID
      orderID
      position
      quantity
      tenantID
      toID
      updatedAt
      updatedBy
    }
    transactionID
  }
}

Variables

Last updated

Was this helpful?