getCheckoutOptions( )


Retrieves checkout details.

Permissions
Manage Events - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function getCheckoutOptions(): Promise<GetCheckoutOptionsResponse>;
Request
This method does not take any parameters
Returns
Return Type:Promise<GetCheckoutOptionsResponse>
JavaScript
import { orders } from "wix-events.v2"; async function getCheckoutOptions() { try { const result = await orders.getCheckoutOptions(); return result; } catch (error) { console.error(error); // Handle the error } }
Errors

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

Did this help?