Removes the coupon from a specified cart.
The removeCoupon()
function returns a Promise that resolves to the updated cart when the coupon is removed from the specified cart.
Note: After a cart is updated, call Refresh Cart to update the cart's UI elements and trigger the Cart Updated event.
Cart ID.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.