Different discounts for different dishes
In API V8Preview6 for the method ChangeSelectiveDiscount
was added overload
. This overload allows you to pass a list of pairs consisting of Id elements of the order and the corresponding discount amounts that need to be assigned to them.