Discount (v2)
An active discount for the customer. If this record is provided, it must be active for the caller.
| # | 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/newclient1
- /api/client/setprofile10
- /api/client/setprofile11
- /api/client/setprofile5
- /api/client/setprofile6
- /api/client/setprofile7
- /api/client/setprofile8
- /api/client/setprofile9
- /api/user26
- /api/user27
- /api/user28
- /api/user29
- /api/user30
- /api/user31
- /api/user32
- /api/user33
- /api/user34
- /api/user35
- /api/user36
- /api/user37
- /api/user38