Trendyol Category-Attribute List (getCategoryAttributes)
Trendyol Category Attribute List
The attributes information to be sent in requests to the createProduct service and the details of this information will be obtained using this service.
- Category ID information should be used at the lowest level ("subCategories": []) to create createProduct. If there are subcategories of the category you select, you cannot transfer products with this category.
- We recommend that you get the updated category attribute list on a weekly basis, as new category attributes can be added.
TIP
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 treebefore each transaction.
GET getCategoryAttributes
Sample Service Response
{
"id": 411,
"name": "Casual Ayakkabı",
"displayName": "Casual Ayakkabı",
"categoryAttributes": [
{
"categoryId": 411,
"attribute": {
"id": 14,
"name": "Materyal"
},
"required": false,
"allowCustom": false,
"varianter": false,
"slicer": false,
"attributeValues": [
{
"id": 82,
"name": "Deri"
},
{
"id": 85,
"name": "Hakiki Deri"
},
{
"id": 105,
"name": "Suni Deri"
},
{
"id": 107,
"name": "Süet"
},
{
"id": 109,
"name": "Tekstil"
},
{
"id": 685,
"name": "Rugan"
},
{
"id": 715,
"name": "Nubuk"
}
]
},
{
"categoryId": 411,
"attribute": {
"id": 207,
"name": "Malzeme Tipi"
},
"required": false,
"allowCustom": false,
"varianter": false,
"slicer": false,
"attributeValues": [
{
"id": 2214,
"name": "Hakiki"
},
{
"id": 2215,
"name": "Suni"
}
]
},
{Service Parameters
| Parameter | Description |
|---|---|
| name | Category Name |
| displayName | Category's display name |
| attribute.id | Attribute IDs of the selected Category |
| attribute.name | Attribute Names of selected Category |
| allowCustom | If true you must sent freetext attributeName while using createProduct |
| required | If true, related attributes must be sent in the attributeValues field. |
| slicer | If true, the different product card was created in trendyol.com |
| varianter | This property information indicates whether there is a variant information while appearing on Trendyol.com |
| attributeValues.id | Attribute Value IDs of the selected Attribute |
| attributeValues.name | Attribute Value Names of the selected Attribute |
Updated 10 days ago