Updates up to 100 orders.
The bulkUpdateOrders() function returns a Promise that resolves when the specified orders' information is updated.
Currently, the following fields can be updated:
order.buyerInfo.emailorder.buyerLanguageorder.weightUnitorder.billingInfo.addressorder.billingInfo.contactDetailsorder.archivedorder.attributionSourceorder.seenByAHumanorder.recipientInfo.addressorder.recipientInfo.contactDetailsorder.shippingInfo.logistics.shippingDestination.addressorder.shippingInfo.logistics.shippingDestination.contactDetailsTo update a field's value, include the new value in the orders.order object in the method parameters.
To remove a field's value, pass null.
Note: Removing buyerInfo or contactDetails fields results in an error.
To update an order's payment status, use updatePaymentStatus( ).
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Orders to update.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.