InventoryBulkToggleActivation
Activates or deactivates inventory items across multiple locations, determining where they can be stocked or sold.
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 unique identifier of the inventory item whose activation status will be updated across one or more locations. |
| InventoryItemUpdates | String | A collection of location and activation status pairs specifying where the inventory item should be activated or deactivated. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the bulk activation or deactivation process completed successfully. |
| Details | String | Provides additional information or messages describing the results of the activation update operation. |
| InventoryItemId | String | The unique identifier of the inventory item that was processed during the activation update. |
| InventoryLevelIds | String | A list of inventory level identifiers that were activated or deactivated as part of the operation. |