Skip to main content
Log inSign up
Anchor to inventoryBulkToggleActivation

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.

•
ID!required

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

Anchor to inventoryItemUpdatesinventoryItemUpdates
•

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


Was this section helpful?

Anchor to InventoryBulkToggleActivationPayload returnsInventoryBulkToggleActivationPayload returns

•

The inventory item that was updated.

•

The activated inventory levels.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?