Menu
Delete Product Category
This API helps you delete a product category.
DELETE
/products/categories/{categoryId}Use it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Delete Product Category action (under Product categories).
- Fill in the fields below, then reference the result from later steps as
{{deleteProductCategory.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{deleteProductCategory.response.data.<field>}}.
{
"name": "string",
"id": 0,
"slug": "string",
"parent": 0,
"description": "string",
"display": "default",
"image": {
"id": 0,
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z",
"date_modified_gmt": "2025-01-01T00:00:00Z",
"src": "string",
"name": "string",
"alt": "string"
},
"menu_order": 0,
"count": 0
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?