InventoryBulkToggleActivation
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.
Procedure-Specific Information
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
- InventoryItemUpdates references the InventoryItemUpdates temporary table.
InventoryItemUpdates Temporary Table Columns
| Column Name | Type | Description |
| Activate | Bool | Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. |
| LocationId | String | The ID of the location to modify the inventory item's stocked status. |
Input
| Name | Type | Description |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryItemUpdates | String | A list of pairs of locations and activate status to update for the specified inventory item. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| InventoryItemId | String | The ID of the inventory item to modify the activation status locations for. |
| InventoryLevelIds | String | The activated inventory levels. |