7. Trendyol Category-Attribute List

The attributes information will be obtained using this service.

  • You need to send "storeFrontCode" as Header Parameter.
  • "categoryId" is a path variable that should be fetched from category tree request.
  • "locale" is a path variable that should be “de” or “en” for now.
❗️

Stage and prod environment have different ids. For instance attributeId information in stage and prod can differ. You should use our prod services while mapping your ids for the prod environment

🟩

The product category tree is updated at regular time periods. If you use an outdated category tree, you may enter incomplete or incorrect data. For this reason, you must use the up-to-date category tree before each transaction.

HTTP method: GET

Sample Service Response

{
  "id": 1000,
  "name": "Baby Creams & Oils",
  "displayName": "Baby Creams & Oils",
  "categoryAttributes": [
    {
      "attribute": {
        "id": 46,
        "name": "Effect"
      },
      "required": false,
      "varianter": false,
      "slicer": false,
      "allowCustom": false,
      "attributeValues": [
        {
          "id": 1267,
          "name": "Moisturizer"
        }
      ]
    },
    {
      "attribute": {
        "id": 346,
        "name": "Age Group"
      },
      "required": false,
      "varianter": false,
      "slicer": false,
      "allowCustom": false,
      "attributeValues": [
        {
          "id": 4290,
          "name": "Baby"
        },
        {
          "id": 4293,
          "name": "Adult"
        }
      ]
    }
  ]
}