Updates order and tickets.
Only applicable for orders with INITIATED
, PENDING
, OFFLINE_PENDING
statuses.
function updateCheckout(
orderNumber: string,
eventId: string,
options: UpdateCheckoutOptions,
): Promise<UpdateCheckoutResponse>;
Unique order number.
Event ID to which the checkout belongs.
An object representing the available options for updating an order and tickets.
import { orders } from "@wix/events";
async function updateCheckout(orderNumber, eventId, options) {
const response = await orders.updateCheckout(orderNumber, eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.