Skip to main content
Anchor to InventoryQuantityInput

InventoryQuantityInput

input_object

The input fields for the quantity to be set for an inventory item at a location.

•Int

The current quantity to be compared against the persisted quantity. Explicitly passing in null to this field opts out of the quantity comparison check. Explicitly passing in any value (be it null or an integer) to changeFromQuantity will cause the values passed into the compareQuantity and InventorySetQuantitiesInput.ignoreCompareQuantity fields to be ignored in favour of the changeFromQuantity value. For more information, refer to the Compare and Swap documentation.

•ID!
non-null

Specifies the inventory item to which the quantity will be set.

•ID!
non-null

Specifies the location at which the quantity will be set.

•Int!
non-null

The quantity to which the inventory quantity will be set.

•Int
Deprecated

Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields required to set inventory quantities.


Was this section helpful?