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.
  • 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,
                    "attributeValueIds": [
                        1
                    ],
                },
                {
                    "attributeId": 2,
                    "attributeValue": "String"
                }
            ]
        }
    ]
}