We know it's possible to create a price rule & discount code with 2 separate API calls.
However, since price rules aren't actually usable without a code, please add an optional parameter which will also create a discount code for the newly created price rule.
This will half the number of API requests apps need to make, which is a big deal considering the API calls limit.
I am also having this error. Anybody have the reason for this?
But i think last week it worked well
This would be a very useful change to the api. I think the api to create a price rule should accept an optional array of codes to create.
It would have performance, stability and usability benefits.