Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to InventorySetOnHandQuantitiesInput

InventorySetOnHandQuantitiesInput

input_object

The input fields required to set inventory on hand quantities.

•
String!non-null

The reason for the quantity changes. The value must be one of the possible reasons.

Anchor to referenceDocumentUrireferenceDocumentUri
•

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 referenceDocumentUri for the inventory adjustment is a URI referencing the order ID.

•

The value to which the on hand quantity will be set.


Was this section helpful?