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
- changeFromQuantity (Int)
- inventoryItemId (ID!)
- locationId (ID!)
- quantity (Int!)
- 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. This field is mandatory- you must explicitly pass in a value (even if it'snull), or else you will get an error. 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.
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?