An event that triggers when a checkout is updated. A checkout is updated when, for example, items are added or a coupon is removed.
The onCheckoutUpdated()
event handler runs when a new checkout is updated. The received CheckoutUpdated
object contains information about the checkout that was updated and event metadata.
Note: Backend events don't work when previewing your site.
Information about the checkout that was updated and event metadata.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.