Updating oldPriceIncl through /variants/bulk.json is broken

I recently started noticing that prices where not updated correctly anymore. After testing a bit I found that variants/bulk.json is responsible.
Take a random bulk request, if I just want to update oldPrice the request return with an empty variants/error array. Hence nothing is updated and no error are detected. If I modify the exact same request (as a sanity check) to update priceCost it works perfectly fine. Also updating oldPriceIncl variants through /variants/{id}.json still work perfectly fine. However, if you have many problems this quickly leads to rate limiting issues.
Best Answer
-
LucienVersendaal Moderator, Lightspeed Staff Posts: 991 moderator
Hi @nielsdebruin,
Thank you for reaching out to us.
To update the oldPriceIncl you'll need to specify the oldPriceExcl as well. You can give this a value of 0 because this will be automatically calculated by the system. Below you'll find a example:
I hope this will help.