The input fields required to adjust inventory quantities.
Access Scopes
Fields
changes:
InventoryChangeInput! -
The quantity changes of items at locations to be made.
name:
String! -
The quantity [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)
to be adjusted.
reason:
String! -
The reason for the quantity changes. The value must be one of the [possible
reasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).
referenceDocumentUri:
String -
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.