Trendyol Category List (getCategoryTree)

Trendyol Category List

The categoryId information to be sent in requests to the createProduct service 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 list weekly, as new categories may 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 tree before each transaction.

GET getCategoryTree

Sample Service Response

{
    "categories": [
        {
            "id": 368,
            "name": "Aksesuar",
            "subCategories": [
                {
                    "id": 1228,
                    "name": "Altın",
                    "parentId": 368,
                    "subCategories": [
                        {
                            "id": 1237,
                            "name": "Ata Altın",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1234,
                            "name": "Cumhuriyet Altını",
                            "parentId": 1228,
                            "subCategories": []
                        },
                        {
                            "id": 1231,
                            "name": "Çeyrek Altın",
                            "parentId": 1228,
                            "subCategories": []
                        }
                    ]
                },
            ...
            ..

Filter Parameters

ParameterDescription
IdCategory's ID in Trendyol platform
ParentIdUpper-level category ID
NameCategory Name
subcategoriesLowest level categories