Anchor to InventorySetOnHandQuantitiesInputInventory
input_objectInventory Set On Hand Quantities Input
The input fields required to set inventory on hand quantities.
Anchor to FieldsFields
- Anchor to reasonreason•String!non-null
The reason for the quantity changes. The value must be one of the possible reasons.
- Anchor to referenceDocumentUrireference•String
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.
- Anchor to setQuantitiesset•[Inventory
Quantities Set Quantity Input!]!required The value to which the on hand quantity will be set.
Was this section helpful?