queryTicketDefinitions( )

Deprecated. This function will continue to work until November 8, 2024, but a newer version is available. Use 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 queryTicketDefinition(). To migrate to the new function:

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

Retrieves a list of up to 100 ticket definitions.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Events - all permissions
Manage Orders
Manage Ticket Definitions
Learn more about permission scopes.
Method Declaration
Method Parameters
Return Type:Promise<QueryTicketDefinitionsResponse>
Was this helpful?