onCouponCreated( )


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.

Method Declaration
Copy
Method Parameters
eventCouponEventRequired

Information about a newly created coupon.

Did this help?