Skip to main content
Anchor to inventoryAdjustQuantities

inventoryAdjustQuantities

mutation

Requires write_inventory access scope. Also: The user must have a permission to apply changes to inventory quantities.

Adjusts quantities for inventory items by applying incremental changes at specific locations. Each adjustment modifies the quantity by a delta value rather than setting an absolute amount.

The mutation tracks adjustments with a reason code and optional reference URI for audit trails. Returns an InventoryAdjustmentGroup that records all changes made in the operation.

Learn more about managing inventory quantities and states.


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.


InventoryAdjustQuantitiesInput!
required

The information required to adjust inventory quantities.


Was this section helpful?

Anchor to InventoryAdjustQuantitiesPayload returnsInventoryAdjustQuantitiesPayload returns

Anchor to inventoryAdjustmentGroupinventoryAdjustmentGroup
InventoryAdjustmentGroup

The group of changes made by the operation.

[InventoryAdjustQuantitiesUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?