Skip to main content
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.stigg.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
type
string

Event type discriminator.

Allowed value: "coupon.updated"
messageId
string

Unique webhook message ID.

traceId
string

Correlation ID for tracing.

entityId
string

Coupon ID.

name
string

Coupon name.

description
string

Coupon description.

couponType
string

Discount type (e.g.

status
string

Status of the coupon.

discountValue
number

Numeric value for the discount.

createdAt
string<date-time>

Creation timestamp.

updatedAt
string<date-time>

Last update timestamp.