Retrieves a list of up to 100 tickets.
function listTickets(
eventId: Array<string>,
options: ListTicketsOptions,
): Promise<ListTicketsResponse>;
Event IDs.
Options for defining the returned list of tickets.
import { tickets } from "@wix/events";
async function listTickets(eventId, options) {
const response = await tickets.listTickets(eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.