confirmOrder( )

Confirms an order.

This function changes order status from INITIATED, PENDING, OFFLINE_PENDING to PAID. Confirming orders with INITIATED or PENDING status triggers an email with the tickets to the buyer (and to additional guests, if provided).

Authentication

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

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

Event ID to which the order belongs.


optionsConfirmOrderOptions

An object representing the available options for confirming an order.

Returns
Return Type:Promise<ConfirmOrderResponse>
Was this helpful?
Yes
No