ImportTicket
Used when importing order.
Fields
Field | Description |
---|---|
id int | Manually select a specific ticket. Example value:4954723 |
overrideprice bool | If boolean is set to true, the price field is used (even if set to 0) to determine the price for this ticket Example value:true |
overrideservicecharge bool | If boolean is set to true, the servicecharge field is used (even if set to 0) to determine the servicecharge for this ticket Example value:true |
price decimal | Ticket price, will always be used if larger then 0. Example value:24.990000 |
seatzoneid int | Seatzone ID Example value:3 |
servicecharge decimal | Service charge for this ticket Example value:0.990000 |
ticketholderid int | If this ticket should be linked to a contact, set the ticketholderid Example value:1239 |
ticketholdername string | DEPRECATED: Use ticketholderid Example value:"John Doe" |
tickettypeid int (required) | The tickettype ID for the ticket. Example value:1 |
tickettypepriceid int | The ticket type price ID for the new ticket. Either tickettypepriceid or optionbundleid should be specified, not both. Example value:1 |
vouchercode string | Voucher code to use (if any) Example value:"1243SDFASDF3223" |
vouchercodeid int | The voucher code to link to this ticket Example value:2390 |
Example
1{
2 "id": 4954723,
3 "overrideprice": true,
4 "overrideservicecharge": true,
5 "price": 24.990000,
6 "seatzoneid": 3,
7 "servicecharge": 0.990000,
8 "ticketholderid": 1239,
9 "ticketholdername": "John Doe",
10 "tickettypeid": 1,
11 "tickettypepriceid": 1,
12 "vouchercode": "1243SDFASDF3223",
13 "vouchercodeid": 2390
14}