Trendyol Category List

Trendyol Category List

You can the Categories and their IDs information from this service to use it on createProduct v2 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.

  • GET getCategoryTree

https://api.trendyol.com/sapigw/product-categories

Filter Parameters

Parametre Description
page Page number of the spesific page
size The maximum number of results to show on a page.

Sample Response


{
    "categories": [
        {
            "id": 368,
            "code": "100",
            "name": "Aksesuar",
            "subCategories": [
                {
                    "id": 1228,
                    "code": "4544",
                    "name": "Altın",
                    "parentId": 368,
                    "subCategories": [
                        {
                            "id": 1237,
                            "code": "4553",
                            "name": "Ata Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1234,
                            "code": "4550",
                            "name": "Cumhuriyet Altını",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1231,
                            "code": "4547",
                            "name": "Çeyrek Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1232,
                            "code": "4548",
                            "name": "Gram Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1233,
                            "code": "4549",
                            "name": "Külçe Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1236,
                            "code": "4552",
                            "name": "Reşat Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1229,
                            "code": "4545",
                            "name": "Tam Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1230,
                            "code": "4546",
                            "name": "Yarım Altın",
                            "parentId": 1228,
                            "subCategories": []
                        }
                    ]
                },
            ...
            ..

Response Parameters

Parameter Description
Id Category's ID in Trendyol platform
ParentId Upper-level category ID
Name Category Name
Nodes The category's child category information,
subcategories Lowest level categories