inventory Adjust Quantities
Requires 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 that records all changes made in the operation.
Learn more about managing inventory quantities and states.
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.
Arguments
- Anchor to inputinput•Inventory
Adjust Quantities Input! required The information required to adjust inventory quantities.
- Anchor to inventoryAdjustmentGroupinventory•Inventory
Adjustment Group Adjustment Group The group of changes made by the operation.
- Anchor to userErrorsuser•[Inventory
Errors Adjust Quantities User Error!]! non-null The list of errors that occurred from executing the mutation.