We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

inventoryAdjustQuantity

Version 2019-04

Adjusts the inventory by a certain quantity.

Required access

write_inventory access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Input Fields

availableDelta (Int!) Required

Count by which to adjust the available quantity.

inventoryLevelId (ID!) Required

ID of the inventory level to adjust.

Return Fields

inventoryLevel (InventoryLevel)

Represents the updated inventory quantity of an inventory item at a specific location.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Latest)

Adjusts the inventory by a certain quantity.

Required access

write_inventory access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Input Fields

availableDelta (Int!) Required

Count by which to adjust the available quantity.

inventoryLevelId (ID!) Required

ID of the inventory level to adjust.

Return Fields

inventoryLevel (InventoryLevel)

Represents the updated inventory quantity of an inventory item at a specific location.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Adjusts the inventory by a certain quantity.

Required access

write_inventory access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Input Fields

availableDelta (Int!) Required

Count by which to adjust the available quantity.

inventoryLevelId (ID!) Required

ID of the inventory level to adjust.

Return Fields

inventoryLevel (InventoryLevel)

Represents the updated inventory quantity of an inventory item at a specific location.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up