# Get product category details

You can return product category details.

GET /product-categories/:id/details/

Attributes Type Required Description
id integer yes A unique identifier for the product category which is given by User.com automatically.

# Request

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

# Response

{
    "id": 2,
    "name": "my category",
    "custom_id": my_custom_id,
    "description": ""
}