Retrieves a list of orders, including ticket data.
You can only call this method when authenticated as a Wix app or Wix user identity.
function listOrders(options: ListOrdersOptions): Promise<ListOrdersResponse>;
An object representing the available options for retrieving a list of orders.
import { orders } from "@wix/events";
async function listOrders(options) {
const response = await orders.listOrders(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.