Ticket
For loop type tec_ticket
, here are the query parameters and fields.
Query parameters
event
- Event ID to get tickets for
Type: integerpost
- Event ID to get tickets for. Can be used instead of 'event'. Event Calendar allows other post types than Event to have tickets.
Type: integer
Fields
all
- Show all custom fields (for development purpose)attendees
- Ticket attendeesavailable
- Provides the quantity of Available tickets based on the Attendees numbercapacity
- Original stock capacitydescription
- Ticket nameend_date
- Date the ticket should be stop being soldend_time
- Time the ticket should be stop being soldfrontend_link
- Link to the front end of this ticket, if the providers has single view for this ticket.id
- Idis_in_stock
- Determines if there is any stock for purchasingname
- Ticket nameon_sale
- Indicates if the ticket is currently being offered at a reduced price as part of a special sale.price
- Ticket priceprice_suffix
- Holds the price suffixqty_cancelled
- Quantity cancelledqty_pending
- Quantity pendingqty_refunded
- Quantity refundedqty_sold
- Quantity soldregular_price
- Regular price (if the ticket is not on a special sale this will be identical to $price).sku
- Holds the SKU for the ticketstart_date
- Date the ticket should be put on salestart_time
- Time the ticket should be put on sale