{id} is the category ID and {type} is the category type (1 for a product category). A category that cannot be deleted (for example because it is still in use) returns a 400 with the reason. On success the response is a confirmation with HTTP 200.curl --location --globoff --request DELETE 'https://.daftra.com/api2/product_categories/1/3.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"message": "Category has been deleted"
}