reorderTicketDefinitions( )


Changes ticket definitions order in an event dashboard and the list of available tickets in the ticket picker.

Note: It is possible to use both beforeTicketDefinitionId and afterTicketDefinitionId at the same time but only the last one defined will be executed.

Authentication

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

Permissions
Manage Events - all permissions
Manage Ticket Definitions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
eventIdstringRequired

Event ID.


optionsReorderTicketDefinitionsOptions

Optional fields.

Did this help?