All Events Triggered when a coupon set is deleted.
Event Schema
id
string
Unique identifier for the event
occurred_at
integer (unix timestamp)
Timestamp when the event occurred
source
string
Source that triggered the event (e.g., admin_console, api, scheduled_job)
object
string
Always "event" for webhook events
api_version
string
API version used for this event
event_type
string
Type of the webhook event
webhook_status
string
Status of the webhook delivery
object
Content of the event
object
The coupon object affected by this event
object
The coupon_set object affected by this event
Sample Payload
{
"id": "ev_16B47i2O1RoYUq9e",
"occurred_at": 1755864600,
"source": "admin_console",
"object": "event",
"api_version": "v2",
"event_type": "coupon_set_deleted",
"webhook_status": "not_applicable",
"content": {
"coupon": {
"apply_discount_on": "not_applicable",
"apply_on": "each_specified_item",
"created_at": 1517495314,
"discount_percentage": 10,
"discount_type": "percentage",
"...": "..."
},
"coupon_set": {
"archived_count": 0,
"coupon_id": "beta",
"id": "cs_3RtyuIHol",
"name": "Launch Promotion",
"object": "coupon_set",
"...": "..."
}
}
}