Skip to main content
Anchor to inventoryMoveQuantities

inventoryMoveQuantities

mutation

Requires write_inventory access scope. Also: The user must have a permission to move an inventory.

Moves inventory quantities for a single inventory item between different states at a single location. Use this mutation to reallocate inventory across quantity states without moving it between locations.

Each change specifies the quantity to move, the source state and location, and the destination state and location. The mutation returns an InventoryAdjustmentGroup that tracks all changes made in a single operation, providing an audit trail with the reason and reference document URI.


Caution

As of version 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of version 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


InventoryMoveQuantitiesInput!
required

The information required to move inventory quantities.


Was this section helpful?

Anchor to InventoryMoveQuantitiesPayload returnsInventoryMoveQuantitiesPayload returns

Anchor to inventoryAdjustmentGroupinventoryAdjustmentGroup
InventoryAdjustmentGroup

The group of changes made by the operation.

[InventoryMoveQuantitiesUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?