Product Update (updateProducts)

Product Update

This method allows you to update the products that you have previously created using the createProduct service in your Trendyol store.

Limited to Product Information:

  • This service is specifically designed for updating product information only. If you need to update stock and price values, you should use the updatePriceAndInventory service.

Check Category and Attribute Values:

  • As new category and category attribute values may be added, it is recommended to check the getCategoryTree and getCategoryAttributes services to ensure that the category and category attribute values you use are up-to-date before updating your products.

Status Update:

  • The status of the product will be set to "İçerik Kontrol Bekleniyor" (Content Check Pending) after the update request. Your products may still be open for sale. If you don't want to receive orders during this period, it's crucial to update your stock and price information accordingly.

Maximum Items in Each Request:

  • You can include a maximum of 1000 items in each update request.

Product Update Constraint:

  • For approved products, the barcode, productMainId, brandId, categoryId fields, and attribute values defined as slicer or varianter, cannot be updated.
❗️

Check BatchRequest Result

After the product update process, you need to check the status of your products and the transfer process via the getBatchRequestResult service with the batchRequestId in the response.

PUT updateProducts

Sample Service Request

{
    "items": [
        {
            "barcode": "barkod-1234",
            "title": "Bebek Takımı Pamuk",
            "productMainId": "1234BT",
            "brandId": 1791,
            "categoryId": 411,
            "stockCode": "STK-123",
            "dimensionalWeight": 12,
            "description": "Ürün açıklama bilgisi",
            "vatRate": 0,
            "locationBasedDelivery": "string", //could be "ENABLED", "DISABLED" or null
            "lotNumber": "string",
            "deliveryOption": {
       			 "deliveryDuration": 1,
       			 "fastDeliveryType": "SAME_DAY_SHIPPING|FAST_DELIVERY"
      		}
            "images": [
                {
                    "url": "https://www.sampleadress/path/folder/image_1.jpg"
                }
            ],
            "attributes": [
                {
                    "attributeId": 338,
                    "attributeValueId": 6980
                },
                {
                    "attributeId": 343,
                    "attributeValueId": 4294
                },
                {
		                 "attributeId": 47,
                    "customAttributeValue": "COLOUR"
		            }
            ],
            "cargoCompanyId": 10,
            "shipmentAddressId": 0,
            "returningAddressId": 0
        }
    ]
}

Parameters Description and Rules

ParameterRequiredExplanationData TypeMax. Number of Characters
barcodeYesAs a special character "." , "-" , "_" can be use. You may use Turkish characters (ğ, Ğ, Ş, ş, İ, Ü etc.). If there is a space in the middle of your barcode, it will be combined and imported. You should also make your stock-price updates according to the imported barcode.string40
titleYesProduct Namestring100
productMainIdYesMain Product Codestring40
brandIdYesTrendyol Brand ID Information.integer-
categoryIdYesTrendyol Category ID Informationinteger-
stockCodeYesUnique stock code in supplier internal systemstring100
dimensionalWeightYesDesi Amountnumber-
descriptionYesProduct description information.HTML - string30.000
currencyTypeYesIt should be sent in TRY. You need to determine the prices of your products in Turkish Lira. Exchange rate information is not supported.string-
cargoCompanyIdYesTrendyol Cargo Company Informationinteger-
deliveryDurationNoShipment Durationinteger-
deliveryOptionNoAllows entry of express delivery options. SAME_DAY_SHIPPING or FAST_DELIVERY values ​​can be entered in the "fastDeliveryType" field.string-
imagesYesIt is the URL address list of product images. Visual URL addresses must be SSL certified addresses in "https" format. Maximum 8 images can be added for a barcode. The dimensions of the images of the products must be 1200x1800 and 96dpi.List-
vatRateYesProduct VAT rate (like 0,1,10,20)integer-
shipmentAddressIdNoProduct Shipment warehouse address ID information in Trendyol systeminteger-
returningAddressIdNoProduct Return warehouse address ID information in Trendyol systeminteger-
attributesYesIt is the property (Specification/Attribute) information of the product that can be sent for Category information.List-