InventorySetQuantitiesInput
The input fields required to set inventory quantities.
Anchor to FieldsFields
- Anchor to ignoreCompareQuantityignore•
Compare Quantity BooleanDefault:false Skip the compare quantity check in the quantities field.
- Anchor to namename•String!non-null
The name of quantities to be changed. The only accepted values are:
available
or.
- Anchor to quantitiesquantities•[Inventory
Quantity requiredInput!]! The values to which each quantities will be set.
- Anchor to reasonreason•String!non-null
The reason for the quantity changes. The value must be one of the possible reasons.
- Anchor to referenceDocumentUrireference•
Document Uri A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a draft order might have been previously reserved, and a merchant later creates an order from the draft order. In this case, the
for the inventory adjustment is a URI referencing the order ID.