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
- /api/client/setprofile11
- /api/user27
- /api/user28
- /api/user29
- /api/user30
- /api/user31
- /api/user32
- /api/user33
- /api/user34
- /api/user35
- /api/user36
- /api/user37
- /api/user38