Search...
onCouponUpdated( )
Triggered when a coupon specification is updated.
Syntax
function wixMarketing_onCouponUpdated(event: CouponUpdated): void
onCouponUpdated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
CouponUpdated
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onCouponUpdated example
Copy Code
12 export function wixMarketing_onCouponUpdated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67