An event that is triggered when a coupon is used.
The onCouponApplied()
event handler runs when an order with an applied coupon is completed, or when an order is manually marked as paid.
Note: Backend events don't work when previewing your site.
Information about an applied coupon.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.