Skip to content

unarchive_product_groups

Unarchive one or more product groups (1-25) in a single bulk call, restoring each to inactive. Every requested group must currently be archived — the whole call is rejected otherwise. Each requested group is unarchived together with its kept child product groups; a requested id that is itself a kept child is rejected — unarchive its parent instead. Returns the unarchived count and ids (including cascaded child groups).

Parameter Type Required Description
productGroupIds string[] Yes IDs of the product groups to unarchive (1-25), each restored to inactive together with its kept child product groups. Every requested group must currently be archived; a requested id that is itself a kept child is rejected.
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