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 method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
Orders to update.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.