# update_product_groups_state

Activate or deactivate one or more product groups in a single bulk update. Use INACTIVE to remove product groups from
booking availability (the closest equivalent to deletion); use ACTIVE to make them available for booking. Recomputes
inventory pools and expires caches as a side effect.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `productGroupIds` | `string[]` | Yes | IDs of the product groups whose state should be updated |
| `state` | `State` | Yes | Target activation state. ACTIVE makes the product group available for booking; INACTIVE removes it from booking availability and recomputes inventory pools. - [State](#state) |

### State

| Value | Description |
| --- | --- |
| `ACTIVE` | Product group is active and available for booking |
| `INACTIVE` | Product group is inactive and not available for booking |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
