API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

inventoryBulkAdjustQuantityAtLocation mutation

Version unstable

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2021-07 (Release candidate)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2021-04 (Latest)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2021-01

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2020-10

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2020-07

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2020-04 (Unsupported)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2020-01 (Unsupported)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2019-10 (Unsupported)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2019-07 (Unsupported)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.

Version 2019-04 (Unsupported)

Adjusts the inventory at a location for multiple inventory items.

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

Argument Description
inventoryItemAdjustments ( [InventoryAdjustItemInput!]! ) required

Specifies adjustments for items.

locationId ( ID! ) required

Specifies where the item should be adjusted.

InventoryAdjustItemInput fields

  • availableDelta (Int!) Required

    Count by which to adjust the available quantity.

  • inventoryItemId (ID!) Required

    ID of the inventory item to adjust.

Return fields

  • inventoryLevels ([InventoryLevel!])

    The updated inventory quantities.

  • userErrors ([UserError!]!)

    List of errors that occurred executing the mutation.