Updates an order.
You can only call this method when authenticated as a Wix app or Wix user identity.
function updateOrder(
identifiers: UpdateOrderIdentifiers,
options: UpdateOrderOptions,
): Promise<UpdateOrderResponse>;
An object containing identifiers for the order to be updated.
An object representing the available options for updating an order.
import { orders } from "@wix/events";
async function updateOrder(identifiers, options) {
const response = await orders.updateOrder(identifiers, options);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.