Inventory Bulk Toggle Activation Payload
Return type for mutation.
Anchor to FieldsFields
- inventoryItem (InventoryItem)
- inventoryLevels ([InventoryLevel!])
- userErrors ([InventoryBulkToggleActivationUserError!]!)
- Anchor to inventoryIteminventory•Inventory
Item Item The inventory item that was updated.
- Anchor to inventoryLevelsinventory•[Inventory
Levels Level!] The activated inventory levels.
- Anchor to userErrorsuser•[Inventory
Errors Bulk Toggle Activation User Error!]! non-null The list of errors that occurred from executing the mutation.
Anchor to Mutations with this payloadMutations with this payload
- inventoryBulkToggleActivation (InventoryBulkToggleActivationPayload)
- •mutation
Activates or deactivates an inventory item at multiple locations. When you activate an
at aLocation, that location can stock and track quantities for that item. When you deactivate an inventory item at a location, the inventory item is no longer stocked at that location.The mutation accepts an inventory item ID and a list of location-specific activation settings. It returns the updated inventory item and any activated
objects.Learn more about managing inventory quantities and states.
- Anchor to inventoryItemIdinventory•ID!
Item Id required The ID of the inventory item to modify the activation status locations for.
- Anchor to inventoryItemUpdatesinventory•[Inventory
Item Updates Bulk Toggle Activation Input!]! required A list of pairs of locations and activate status to update for the specified inventory item.
Arguments