CreateTicket

Info for adding a ticket to an order.

Fields

FieldDescription
optionbundleid
int

The id for the optionbundle you want to add a new ticket to. Either tickettypepriceid or optionbundleid should be specified, not both.

Example value:1
ticketid
int

Manually select a specific ticket.

Example value:4954723
tickettypeid
int

Should only be specified when optionbundleid is specified. The tickettypeid for the ticket you want to add to the optionbundle.

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"

Example

1{
2    "optionbundleid": 1,
3    "ticketid": 4954723,
4    "tickettypeid": 1,
5    "tickettypepriceid": 1,
6    "vouchercode": "1243SDFASDF3223"
7}