v13

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-012612103.2 KB
Sales

Create a sale

Creates a new ticket sale for an event. The event must have tickets enabled and belong to a Pro schedule. Tickets can be referenced by encoded ticket ID or by ticket type name. Sales are created with 'unpaid' status unless the total is zero (free tickets), in which case they are automatically marked as 'paid'.

post/sales

Request body

event_idstring required

Encoded ID of the event

namestring required

Name of the ticket buyer

emailstring email required

Email of the ticket buyer

ticketsobject required

Map of ticket identifier (encoded ticket ID or ticket type name) to quantity

event_datestring date

Specific date for recurring events (Y-m-d format). If omitted, defaults to the event's start date.

Example request

{
  "tickets": {
    "General Admission": 2,
    "VIP": 1
  }
}

Response

Sale created successfully

Example response

{
  "meta": {
    "message": "Sale created successfully"
  }
}