Delete category
hub_delete_categoryDelete a category. Takes the category id ONLY — look it up with get_categories and never guess. CONFIRM WITH THE MERCHANT BEFORE CALLING, naming the category: there is no undo from here. Products in the category are NOT deleted — they are kept and simply lose this category, so a product that had no other category ends up uncategorised. A category that still has subcategories is refused: move or delete those first. So is a category synced from an integration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | Yes | Category id from get_categories — not a name |