Anchor to section titled 'undefined'

inventoryBulkToggleActivation
mutation

Requires write_inventory 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 inventoryItemId
inventoryItemId
required

The ID of the inventory item to modify the activation status locations for.

A list of pairs of locations and activate status to update for the specified inventory item.


Was this section helpful?

The inventory item that was updated.

The activated inventory levels.

The list of errors that occurred from executing the mutation.


Was this section helpful?