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

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

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>
Did this help?