Skip to content

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.

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
Value Description
ACTIVE Product group is active and available for booking
INACTIVE Product group is inactive and not available for booking
Field Type Description
content ContentItem[] Array of content items returned by the tool - ContentItem
isError boolean Whether the tool execution resulted in an error
Field Type Description
type 'text' Content type (currently only ‘text’ is supported)
text string The text content to display