Anchor to inventoryBulkToggleActivationinventory
mutationinventory Bulk Toggle Activation
Requires access scope. Also: The user must have a permission to update the activation status of an inventory.
Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
Anchor to Arguments
Arguments
- Anchor to inventoryItemIdinventory•ID!required
Item Id 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.
Was this section helpful?
- 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.
Was this section helpful?