POST

Query Ticket Definitions


Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting. Query Ticket Definitions runs with these defaults, which you can override:

  • createdDate is sorted in ASC order
  • paging.limit is 100
  • paging.offset is 0

For field support for filters and sorting, see Ticket Definitions: Supported Filters and Sorting. To learn about working with Query endpoints, see API Query Language.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Orders
Manage Ticket Definitions
Manage Events
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events-ticket-definitions/v3/ticket-definitions/query

Body Params
queryQueryRequired

Query options. See API Query Language for more details.


fieldsArray <string>maxItems 5

Predefined sets of fields to return.

Response Object
ticketDefinitionsArray <TicketDefinition>

List of ticket definitions.


metadataMetadata

Metadata for the paginated results.

Query ticket definitions by created date with sales details
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?