inventoryAdjustQuantity mutation
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.
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
Argument | Description |
---|---|
input
(
InventoryAdjustQuantityInput!
)
required
|
Provides the input fields required to update an inventory level. |
InventoryAdjustQuantityInput fields
-
availableDelta (
Int!
) RequiredCount by which to adjust the available quantity.
-
inventoryLevelId (
ID!
) RequiredID 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.