An event that is triggered when a coupon is created.
The onCouponCreated()
event handler runs when a new coupon is created.
Note: Backend events don't work when previewing your site.
Information about a newly created coupon.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.