getSummary( )


Retrieves a summary of total ticket sales.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Read Events - all read permissions
Manage Orders
Read Basic Events Order Info
Learn more about app permissions.
Method Declaration
Copy
function getSummary(options: GetSummaryOptions): Promise<GetSummaryResponse>;
Method Parameters
optionsGetSummaryOptions

An object representing the available options for retrieving a summary of total ticket sales.

Returns
Return Type:Promise<GetSummaryResponse>
JavaScript
import { orders } from "@wix/events"; async function getSummary(options) { const response = await orders.getSummary(options); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?