# Product detail

You can return the product details.

GET products/:id/details/

Attributes Type Required Description
id integer yes A unique identifier for the product 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/products/:id/details/"

# Response

{
  "id": 1,
  "attributes": [
    {
      "id": 1,
      "name": "example_attr_name",
      "value": "example_value",
      "name_std": "example_attr_name",
      "description": ""
    },
    {
      "id": 2,
      "name": "example_attr_name_two",
      "value": "example_value_two",
      "name_std": "example_attr_name_two",
      "description": ""
    }
  ],
  "name": "Example Name",
  "description": "Example Description",
  "custom_id": "Custom_id",
  "product_url": "",
  "image_url": "",
  "thumbnail": "",
  "qty": 0,
  "created_at": "2019-04-30T07:24:59.560908Z",
  "updated_at": "2019-04-30T07:25:00.122601Z",
  "special_price": 0,
  "categories": []
}