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
| Parameters | Explanation |
|---|---|
| name | The name of the category in the Trendyol system. |
| displayName | Category Name in Trendyol's System - As Seen on the Front Page |
| attribute.id | Attribute ID information within the category |
| attribute.name | Attribute name in the category |
| allowCustom | If true, then a freetext-string should be sent instead of an ID when creatingProduct. |
| required | If true, the relevant attributes must be sent to the attributeValues field when creatingProduct. |
| slicer | If true, a separate product card will be created on trendyol.com. |
| varianter | When a product is displayed on Trendyol.com, this feature information indicates whether it is a variant or not. |
| allowMultipleAttributeValues | If set to true, the attribute can take multiple values. |
Updated 10 days ago