# Product detail

You can return the product details.

GET products/:custom_id/details/

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 GET -H
"Authorization: Token <your_64_char_api_key>"
"https://<your_app_subdomain>.user.com/api/public/products-by-id/:custom_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": []
}