Important
New shipment package stream endpoint is available

For large-scale scanning and synchronization flows, please prefer getShipmentPackagesStream.

HomeGuidesAPI ReferenceChangelogSupport Request
Guides

Category Attribute List v2

The attributes information to be sent in requests to the Product Creation service will be retrieved using this service.

  • The lowest-level category ID information must be used to create a Product. If the category you have selected has subcategories, you cannot transfer products using this category information.

  • We recommend that you obtain the updated category attribute list weekly, as new category attributes may be added.

🚧

TIP

The product category tree is updated periodically. Using an outdated category tree may result in incomplete or incorrect data entry. Therefore, you must 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
        }
    ]
}

Filter Parameters

Parametre

Açıklama

required

true or false.
If required=true is passed, the API must return only the attributes where the "required" flag is set to true.
If required=false is passed the API must return only the attributes where the "required" flag is set to false.

Field Names

ParametersExplanation
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 creatingProduct.
requiredIf true, the relevant attributes must be sent to the attributeValues ​​field when creatingProduct.
slicerIf true, a separate product card will be created on trendyol.com.
varianterWhen a product is displayed on Trendyol.com, this feature information indicates whether it is a variant or not.
allowMultipleAttributeValuesIf set to true, the attribute can take multiple values.