listTicketDefinitions( )


Deprecated. This function will continue to work until November 8, 2024, but a substitute is available. Use the queryTicketDefinitions() function instead.

Migration Instructions. If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to queryTicketDefinitions(). To migrate to the new function:

  1. Add the new import statement:
Copy
  1. Look for any code that uses ticketDefinitions.queryTicketDefinitions(), and replace it with ticketDefinitionsV2.queryTicketDefinitions(). Update your code to work with the new queryTicketDefinition() response properties.
  2. Test your changes to make sure your code behaves as expected.

Retrieves a list of up to 100 ticket definitions, with basic filter support.

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
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListTicketDefinitionsOptions

Details for the tickets to retrieve.

Returns
Return Type:Promise<ListTicketDefinitionsResponse>
Did this help?