Retrieves checkout details.
function getCheckoutOptions(): Promise<GetCheckoutOptionsResponse>;
import { orders } from "@wix/events";
async function getCheckoutOptions() {
const response = await orders.getCheckoutOptions();
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.