TicketfeeRules
Defines which fees are active for specific price types and sales channels. It’s possible to define a fixed fee and a percentage based fee. The default rule (if none is specified for a specific sales channel) is always a fixed fee of 0.
Fields
Field | Description |
---|---|
default | The default ticket fee rule, one rule for each saleschannel. Example value:[ { "saleschannelid": 1, "status": "fixedfee", "value": 1.000000 }, { "saleschannelid": 2, "status": "percentagefee", "value": 2.500000 } ] |
exceptions | An array of exception rules for specific pricetypes. Example value:[ { "pricetypeid": 12, "saleschannels": [ { "saleschannelid": 1, "status": "fixedfee", "value": 2.000000 }, { "saleschannelid": 2, "status": "percentagefee", "value": 3.000000 } ] } ] |
Example
1{
2 "default": [
3 {
4 "saleschannelid": 1,
5 "status": "fixedfee",
6 "value": 1.000000
7 },
8 {
9 "saleschannelid": 2,
10 "status": "percentagefee",
11 "value": 2.500000
12 }
13 ],
14 "exceptions": [
15 {
16 "pricetypeid": 12,
17 "saleschannels": [
18 {
19 "saleschannelid": 1,
20 "status": "fixedfee",
21 "value": 2.000000
22 },
23 {
24 "saleschannelid": 2,
25 "status": "percentagefee",
26 "value": 3.000000
27 }
28 ]
29 }
30 ]
31}