Product Update - Unapproved Product v2
This service allows you to update unapproved (draft) products in your Trendyol store.
- You need to send "storeFrontCode" as Header Parameter.
- Only product information 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.
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": [
{
"barcode": "barcodelarrtest1",
"title": "string",
"description": "string",
"productMainId": "string",
"brandId": 1,
"categoryId": 1,
"stockCode": "string",
"dimensionalWeight": 0,
"vatRate": 0,
"deliveryOption": {
"deliveryDuration": 0,
"fastDeliveryType": "string"
},
"locationBasedDelivery": "string", //"ENABLED", "DISABLED" yada null değerlerini alabilir
"lotNumber": "string",
"shipmentAddressId": 0,
"returningAddressId": 0,
"images": [
{
"url": "trendyol.com/test.jpeg"
}
],
"attributes": [
{
"attributeId": 1,
"attributeValueIds": [
1
],
},
{
"attributeId": 2,
"attributeValue": "String"
}
]
}
]
}Updated 10 days ago