Update Product Category
woocommerce_update_product_categoryUpdate a product category's name, description, or parent by providing its ID and the fields to change.
Instructions
Update fields on an existing product category.
Args:
id (number, required)
Any subset of: name, description, parent
response_format ('markdown'|'json'): default 'markdown'
Returns: The updated category object.
Error Handling:
Returns "Error: Resource not found (404)" if the ID doesn't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The category's numeric ID | |
| name | No | ||
| parent | No | ||
| description | No | ||
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |