inventoryBulkAdjustQuantityAtLocation mutation
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
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!
) RequiredCount by which to adjust the available quantity.
-
inventoryItemId (
ID!
) RequiredID of the inventory item to adjust.
Return fields
-
inventoryLevels (
[InventoryLevel!]
)The updated inventory quantities.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.