Updates an order.
The updateOrder() function returns a Promise that resolves when the specified order's 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 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( ).
Order ID.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.