Retrieves an order, including ticket data.
You can only call this method when authenticated as a Wix app or Wix user identity.
function getOrder(
identifiers: GetOrderIdentifiers,
options: GetOrderOptions,
): Promise<Order>;
An object containing identifiers for the order to be retrieved.
An object representing the available options for getting an order.
import { orders } from "@wix/events";
async function getOrder(identifiers, options) {
const response = await orders.getOrder(identifiers, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.