Product Update - Unapproved Product v2
This service allows you to update unapproved products in your Trendyol store.
-
Only product information is updated through this service.
-
Passing a field as null in update requests (e.g., "title": null) will completely delete the existing value of that field from the product. If you do not want a field's data to be deleted or changed, simply omit that field from the request body entirely.
-
All fields required for product creation must be included in the request body when updating an unapproved product. You can check the mandatory fields for product creation requests here.
-
Since new categories and category attribute values can be added, we recommend that you check whether the categories, category attributes, and category attribute values you are using are up-to-date in the getCategoryTree, getCategoryAttributes, and getCategoryAttributesValues services before updating your products.
-
The maximum number of items that can be sent in each request is 1,000.
CHECK BATCH REQUEST RESULT
After the product create process, you need to check the status of your products and the transfer process via the getBatchRequestResult service with the batchRequestId in the response.
POST updateProducts
Sample Service Response
{
"items": [
{
"barcode": "barcodelarrtest1",
"title": "string",
"description": "string",
"productMainId": "string",
"brandId": 1,
"categoryId": 1,
"stockCode": "string",
"origin": "AD",
"dimensionalWeight": 0,
"vatRate": 0,
"deliveryOption": {
"deliveryDuration": 0
},
"locationBasedDelivery": "string", //It can accept the values "ENABLED", "DISABLED", or null.
"lotNumber": "string",
"cargoProviders": ["cargo company code"], //If you wish to define a shipping company based on barcode, you can send it.
"shipmentAddressId": 0,
"returningAddressId": 0,
"images": [
{
"url": "trendyol.com/test.jpeg"
}
],
"attributes": [
{
"attributeId": 1,
"attributeValueId": 1
},
{
"attributeId": 2,
"customAttributeValue": "String"
}
]
}
]
}Updated 2 days ago