Attributes to be sent to createProduct V2 service will be received 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.
https://api.trendyol.com/sapigw/product-categories/{categoriId}/attributes
Sample 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"
}
]
},
{
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 |