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
| Parameter | Required | Explanation | Data Type | Max. Number of Characters |
|---|---|---|---|---|
| barcode | Yes | As 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. | string | 40 |
| title | Yes | Product Name | string | 100 |
| productMainId | Yes | Main Product Code | string | 40 |
| brandId | Yes | Trendyol Brand ID Information. | integer | - |
| categoryId | Yes | Trendyol Category ID Information | integer | - |
| stockCode | Yes | Unique stock code in supplier internal system | string | 100 |
| dimensionalWeight | Yes | Desi Amount | number | - |
| description | Yes | Product description information. | HTML - string | 30.000 |
| currencyType | Yes | It should be sent in TRY. You need to determine the prices of your products in Turkish Lira. Exchange rate information is not supported. | string | - |
| cargoCompanyId | Yes | Trendyol Cargo Company Information | integer | - |
| deliveryDuration | No | Shipment Duration | integer | - |
| deliveryOption | No | Allows entry of express delivery options. SAME_DAY_SHIPPING or FAST_DELIVERY values can be entered in the "fastDeliveryType" field. | string | - |
| images | Yes | It 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 | - |
| vatRate | Yes | Product VAT rate (like 0,1,10,20) | integer | - |
| shipmentAddressId | No | Product Shipment warehouse address ID information in Trendyol system | integer | - |
| returningAddressId | No | Product Return warehouse address ID information in Trendyol system | integer | - |
| attributes | Yes | It is the property (Specification/Attribute) information of the product that can be sent for Category information. | List | - |
Updated 10 days ago