PricelistPrice
You can find more information about price in the endpoint documentation.
Fields
Field | Description |
---|---|
availabilities bool[] (required) | Array of booleans indicating if the corresponding price is available for this PricelistPrice. Should contain the same number of booleans as prices. Example value:[ true, false, true ] |
conditions | Extra conditions for this price. This can be a promocode, a ticketlimit per order, … . Example value:[ { "type": "promocode", "value": "TM13" } ] |
position int (required) | Optional, and only used for eventspecificprices. Indicates the position of this price in the pricelist. Example value:7 |
prices decimal[] (required) | The (decimal) prices for this PricelistPrice. If no seatrankids has been set, this should consist of 1 price. If seatrankids are set this should an equal number of prices as the number of seatranks. Example value:[ 12.000000, 15.000000, 0.000000 ] |
pricetypeid int (required) | The pricetype for this price. Example value:25 |
saleschannels int[] (required) | The list of saleschannels for which this PricelistPrice is active. Example value:[ 1, 2, 3 ] |
Example
1{
2 "availabilities": [
3 true,
4 false,
5 true
6 ],
7 "conditions": [
8 {
9 "type": "promocode",
10 "value": "TM13"
11 }
12 ],
13 "position": 7,
14 "prices": [ 12.000000, 15.000000, 0.000000 ],
15 "pricetypeid": 25,
16 "saleschannels": [ 1, 2, 3 ]
17}