Skip to content

archive_product_groups

Archive one or more product groups (1-25) in a single bulk call. An archived product group becomes read-only and is unpublished (removed from booking availability) until it is unarchived. Each requested group is archived together with its kept child product groups; a requested id that is itself a kept child is rejected — archive its parent instead. Returns the archived count and ids (including cascaded child groups).

Parameter Type Required Description
productGroupIds string[] Yes IDs of the product groups to archive (1-25). Each requested group is archived together with its kept child product groups; a requested id that is itself a kept child is rejected. An archived group is read-only and unpublished until unarchived.
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