Skip to main content
DELETE/product-categories/:id/

Delete product category

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

Attributes

Optional unless marked required

idintegerrequired
A unique identifier for the product category which is given by User automatically.

Request​

curl -X DELETE "https://<your_app_subdomain>.user.com/api/public/product-categories/:id/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

No response body.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.