bulkUpdateOrders( )


Archives multiple orders.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function bulkUpdateOrders(
  eventId: string,
  options: BulkUpdateOrdersOptions,
): Promise<BulkUpdateOrdersResponse>;
Method Parameters
eventIdstringRequired

Event ID to which the order belongs.


optionsBulkUpdateOrdersOptions

An object representing the available options for confirming an order.

Returns
Return Type:Promise<BulkUpdateOrdersResponse>
JavaScript
import { orders } from "@wix/events"; async function bulkUpdateOrders(eventId, options) { const response = await orders.bulkUpdateOrders(eventId, options); }
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?