API Version
Product Catalog
Library
All Events
Triggered when coupon codes are updated in coupon set.
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_16BooUbB823g2ldA", "occurred_at": 1755864600, "source": "admin_console", "object": "event", "api_version": "v2", "event_type": "coupon_codes_updated", "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", "...": "..." } } }