← API Index


BonusDiscount (v1)

A discount granted to the customer when a bonus reward is reached. Referenced by BonusReward.discount. Not necessarily currently active for the caller. Class Derived from userDiscount.

# Field Type Description
0 name string discount name
1 iid int item id this discount applies to (0=all items), <0 it names a group
2 percentage double discount percentage
3 max_amount double minimum amount (of an order) for the Discount to apply
4 individual int individual discount flag: if true, its a Discount not for all customers.
5 valid_from date discount valid from date or empty
6 valid_to date discount valid until date or empty

Used in endpoints

Referenced in skills