Updates a checkout.
Use this method to update checkout fields such as billing and shipping info, or to add a coupon code or gift card.
To update a checkout's lineItems, completed status, or to remove coupons and gift cards, see these methods:
completed to true if the checkout was completed through a non-Wix orders or payments system.Notes:
checkout.buyerInfo.email may not be removed once it is set.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:
Checkout ID.
Checkout update options.
There are 4 errors with this status code.
There are 8 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.