{
"type": "coupon.updated",
"messageId": "a6ce...",
"traceId": "549a...",
"entityId": "coupon-id",
"name": "best-coupon",
"description": "best coupon ever",
"couponType": "PERCENTAGE",
"status": "ACTIVE",
"discountValue": 20,
"createdAt": "2022-04-10T00:00:00.001Z",
"updatedAt": "2022-04-10T00:00:00.001Z"
}Coupons
Coupon updated
Fired when a coupon is updated. Keep discounts in sync across systems and UIs.
WEBHOOK
coupon.updated
{
"type": "coupon.updated",
"messageId": "a6ce...",
"traceId": "549a...",
"entityId": "coupon-id",
"name": "best-coupon",
"description": "best coupon ever",
"couponType": "PERCENTAGE",
"status": "ACTIVE",
"discountValue": 20,
"createdAt": "2022-04-10T00:00:00.001Z",
"updatedAt": "2022-04-10T00:00:00.001Z"
}Body
application/json
Event type discriminator.
Allowed value:
"coupon.updated"Unique webhook message ID.
Correlation ID for tracing.
Coupon ID.
Coupon name.
Coupon description.
Discount type (e.g.
Status of the coupon.
Numeric value for the discount.
Creation timestamp.
Last update timestamp.
