bulkUpdatePriceQuantity for product variations
Hi, I have a product with some size-variations.
For example root item has sku 20159DA2 and children have for sku 20159DA2-S, 20159DA2-XS, etc
I want to call the method bulkUpdatePriceQuantity but it gives me Bad Request telling me the sku doesn't exists.
Here the example of the json I'm sending to Ebay
{
"requests": [{
"offers": [{
"availableQuantity": 1,
"offerId": "115388226132",
"price": {
"currency": "EUR",
"value": "69.99"
}
}],
"shipToLocationAvailability": {
"quantity": 1
},
"sku": "20159DA2-XS"
}, {
"offers": [{
"availableQuantity": 1,
"offerId": "115388226149",
"price": {
"currency": "EUR",
"value": "89.99"
}
}],
"shipToLocationAvailability": {
"quantity": 1
},
"sku": "20302DA2-S"
}, {
"offers": [{
"availableQuantity": 1,
"offerId": "115388226149",
"price": {
"currency": "EUR",
"value": "89.99"
}
}],
"shipToLocationAvailability": {
"quantity": 1
},
"sku": "20302DA2-XS"
}]
}the beam that is coming to me is that I can not use this method for variations. But if so is there any other method I can use to update just the change quantities?
marferr4686
Posted 3 years ago
0 comments