InventoryBulkToggleActivation
Activates or deactivates inventory items at selected locations to control eligibility for stocking.
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 for which to update activation status at specific locations. |
| InventoryItemUpdates | String | A list of location-and-status pairs defining where the inventory item should be activated or deactivated. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about the execution of the operation. |
| InventoryItemId | String | The ID of the inventory item that was processed. |
| InventoryLevelIds | String | The IDs of the inventory levels that were activated or deactivated. |