Anchor to InventoryQuantityInputInventory
input_objectInventory Quantity Input
The input fields for the quantity to be set for an inventory item at a location.
Anchor to FieldsFields
- Anchor to changeFromQuantitychange•Int
From Quantity The current quantity to be compared against the persisted quantity. Explicitly passing in
nullto this field opts out of the quantity comparison check. Explicitly passing in any value (be itnullor an integer) towill cause the values passed into theandfields to be ignored in favour of thevalue. For more information, refer to the Compare and Swap documentation.- Anchor to inventoryItemIdinventory•ID!
Item Id non-null Specifies the inventory item to which the quantity will be set.
- Anchor to locationIdlocation•ID!
Id non-null Specifies the location at which the quantity will be set.
- Anchor to quantityquantity•Int!non-null
The quantity to which the inventory quantity will be set.
- Anchor to compareQuantitycompare•Int
Quantity Deprecated (removal date set)
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?