Category Attribute List v2

The attributes information to be submitted with requests to the Product Creation service will be retrieved using this service.

  • You need to send "storeFrontCode" as Header Parameter.
  • The lowest-level (leaf) category ID must be used to perform createProduct. You cannot transfer products using a category that has sub-categories.
  • Since new category attributes may be added, we recommend retrieving the updated category attribute list on a weekly basis.
👍

TIP The product category tree is updated at regular intervals. Using an outdated category tree may result in incomplete or erroneous data entry. Therefore, you are required to use the most up-to-date category tree before each operation.

GET getCategoryAttributes

Sample Service Response

{
    "id": 14609,
    "name": "Muay Thai Kaskı",
    "displayName": "Muay Thai Kaskı",
    "categoryAttributes": [
        {
            "allowCustom": false,
            "attribute": {
                "id": 293,
                "name": "Beden"
            },
            "categoryId": 14609,
            "required": true,
            "varianter": true,
            "slicer": false,
            "allowMultipleAttributeValues": false
        },
        {
            "allowCustom": false,
            "attribute": {
                "id": 294,
                "name": "Yaş Grubu"
            },
            "categoryId": 14609,
            "required": false,
            "varianter": false,
            "slicer": false,
            "allowMultipleAttributeValues": false
        },
        {
            "allowCustom": false,
            "attribute": {
                "id": 296,
                "name": "Cinsiyet"
            },
            "categoryId": 14609,
            "required": false,
            "varianter": false,
            "slicer": false,
            "allowMultipleAttributeValues": false
        },
        {
            "allowCustom": false,
            "attribute": {
                "id": 295,
                "name": "Web Color"
            },
            "categoryId": 14609,
            "required": true,
            "varianter": false,
            "slicer": false,
            "allowMultipleAttributeValues": false
        },
        {
            "allowCustom": true,
            "attribute": {
                "id": 47,
                "name": "Renk"
            },
            "categoryId": 14609,
            "required": true,
            "varianter": false,
            "slicer": true,
            "allowMultipleAttributeValues": false
        }
    ]
}

Parameters

ParameterDescription
nameThe name of the category in the Trendyol system.
displayNameCategory Name in Trendyol's System - As Seen on the Front Page
attribute.idAttribute ID information within the category
attribute.nameAttribute name in the category
allowCustomIf true, then a freetext-string should be sent instead of an ID when creating Product.
requiredIf true, the relevant attributes must be sent to the attributeValues ​​field when creating Product.
slicerIf true, a separate product card will be created on trendyol.com.
varianterWhen a product is displayed on Trendyol.com, this attribute information indicates whether it is a variant or not.
allowMultipleAttributeValuesIf true, the attribute can take multiple values.