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