queryTicketDefinitions( )


Note: This function replaces the deprecated listTicketDefinition() and queryTicketDefinitions functions. The deprecated functions will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the migration instructions.

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
PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),in(),exists(),ascending(),descending()
eventIdeq(),ne(),in(),exists(),ascending(),descending()
revisioneq(),ne(),in(),lt(),le(),gt(),ge(),exists(),ascending(),descending()
_createdDateeq(),ne(),in(),lt(),le(),gt(),ge(),exists(),ascending(),descending()
_updatedDateeq(),ne(),in(),lt(),le(),gt(),ge(),exists(),ascending(),descending()
nameeq(),ne(),in(),exists(),ascending(),descending()
descriptioneq(),ne(),in(),exists(),ascending(),descending()
hiddeneq(),ne(),in(),exists(),ascending(),descending()
initialLimiteq(),ne(),in(),lt(),le(),gt(),ge(),exists(),ascending(),descending()
pricingMethod.fixedPrice.valueeq(),ne(),in(),exists(),ascending(),descending()
pricingMethod.fixedPrice.currencyeq(),ne(),in(),exists(),ascending(),descending()
pricingMethod.pricingTypeeq(),ne(),in(),exists(),ascending(),descending()
pricingMethod.freeeq(),ne(),in(),exists(),ascending(),descending()
feeTypeeq(),ne(),in(),exists(),ascending(),descending()
saleStatuseq(),ne(),in(),exists(),ascending(),descending()
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
optionsQueryTicketDefinitionsOptions

Optional fields.

Was this helpful?
Yes
No