deleteShopCategory
Delete a shop category together with every product in it, so members can no longer see or buy them. Deleting is permanent and cannot be undone; orders already placed stay. To keep a product, move it to another category with updateProduct first. Returns the category as it was before the delete. Get categoryId from getShopCategories. Never invent UUIDs; only use values from prior tool responses.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"categoryId": "<categoryId>"
},
"name": "deleteShopCategory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | Yes | The id of the shop category. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes |