HomeGuidesAPI ReferenceChangelogSupport Request
Guides

Product Update - Approved Product v2

Learn how to update product content, variants, and delivery information for approved products in your Trendyol store using bulk update methods.

You can update the product descriptions of approved items in your Trendyol store using this method.

  • You need to send "storeFrontCode" as Header Parameter.
  • In order to update products in Romanian and Arabic language, you can add "Accept-Language" as Header Parameter.
    • RO is used for listing in the Romanian language on the RO storefront
    • AR is used for listing in the Arabic language on the SA and AE storefronts
    • If you want to listing the products information in English, you need to send it with "Accept-Language" as EN.
  • Only content information related to the product is updated via this service.
  • Since new categories and category attribute values may be added, we recommend verifying that the category, category attributes, and category attribute values you are using are up-to-date via the getCategoryTree, getCategoryAttributes, and getCategoryAttributesValues services before performing product updates.
  • The maximum number of items that can be sent in a single request is 1,000.
  • For approved products, the barcode, productMainId, brandId, categoryId fields and attribute values defined as slicer or varianter cannot be updated.
  • Partial update is supported, with the exception of attribute values. (For example, if only the description needs to be updated, sending "contentId": 9510902 and "description": "string" is sufficient.)
    • If any attribute needs to be updated, all attributes and values associated with the product must be included in the request body.
CHECK BATCH REQUEST RESULT

While createProducts, updateProducts, updatePriceAndInventory methods are processed by the queue in Trendyol System, a batchRequestId information is returned in each successful request result. By checking the "status" field in the return of the batchRequest service, you can check whether the batch has been completed. If an item in the batch results has an error, the failureReasons field can be checked to see error reason

POST updateProducts

Sample Service Request

{
    "items": [
        {
            "contentId": 9510902,
            "title": "string",
            "description": "string",
            "images": [
                {
                    "url": "string"
                }
            ],
            "attributes": [
             {
                "attributeId": 1,
                "attributeValueId": 1
            },
            {
                "attributeId": 2,
                "customAttributeValue": "String"
                }
            ]
        }
    ]
}