Erply API Error 1199 – Sales Promotion – “onlyForDiscountedItems” flag is set to tr

In this post, you’ll learn more about the Error Code 1199that is returned when working with the Erply API

Erply API Error Code

1199

Error Description

Sales Promotion – “onlyForDiscountedItems” flag is set to true on this promotion. This can only be set on a promotion that follows the “% or $ off specific items”, the “% off everything”, or the “$ off the purchase” rule formulas. Disable the flag or adjust the rule.