# Delete product category

You can remove a product category. Be cautious, products assigned to this category will lose that assignment.

DELETE /product-categories-by-id/:custom_id/

Attributes Type Required Description
custom_id integer yes A unique identifier for the product provided by the client.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
 curl -X DELETE -H "Authorization: Token <your_64_char_api_key>"
     -H "Accept: */*; version=2" -d '' "https://<your_app_subdomain>.user.com/api/public/product-categories-by-id/:custom_id/"