Shopify discounts webhook events
Shopify sends 5 discounts events, including discounts/create, discounts/delete and discounts/redeemcode_added.
Every event here can also reach agents as an MCP event through Hookdeck: MCP events →
discounts/create
documented from Shopify docs (example)
discounts/create New discount created
Identified by x-shopify-topic header
Resource discounts
{
"admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
"title": "Automatic free shipping",
"status": "ACTIVE",
"created_at": "2016-08-29T08:00:00-04:00",
"updated_at": "2016-08-29T08:00:00-04:00"
} Key fields
| Field | Type | Example |
|---|---|---|
status | string | ACTIVE |
created_at | string | 2016-08-29T08:00:00-04:00 |
Full schema: 5 fields.
From Shopify docs
-
Content type
application/json
discounts/delete
documented from Shopify docs (example)
discounts/delete Discount is deleted
Identified by x-shopify-topic header
Resource discounts
{
"admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
"deleted_at": "2018-08-29T08:00:00-04:00"
} Key fields
| Field | Type | Example |
|---|---|---|
deleted_at | string | 2018-08-29T08:00:00-04:00 |
Full schema: 2 fields.
From Shopify docs
-
Content type
application/json
discounts/redeemcode_added
documented from Shopify docs (example)
discounts/redeemcode_added Redeem code added to a code discount
Identified by x-shopify-topic header
Resource discounts
{
"admin_graphql_api_id": "gid://shopify/DiscountCodeNode/1",
"redeem_code": { … },
"updated_at": "2018-08-29T12:00:00.000Z"
} Key fields
| Field | Type | Example |
|---|---|---|
updated_at | string | 2018-08-29T12:00:00.000Z |
Full schema: 5 fields.
From Shopify docs
-
Content type
application/json
discounts/redeemcode_removed
documented from Shopify docs (example)
discounts/redeemcode_removed Redeem code removed from a code discount
Identified by x-shopify-topic header
Resource discounts
{
"admin_graphql_api_id": "gid://shopify/DiscountCodeNode/1",
"redeem_code": { … },
"updated_at": "2018-08-29T12:00:00.000Z"
} Key fields
| Field | Type | Example |
|---|---|---|
updated_at | string | 2018-08-29T12:00:00.000Z |
Full schema: 5 fields.
From Shopify docs
-
Content type
application/json
discounts/update
documented from Shopify docs (example)
discounts/update Discount details change
Identified by x-shopify-topic header
Resource discounts
{
"admin_graphql_api_id": "gid://shopify/DiscountAutomaticNode/1",
"title": "Automatic free shipping updated",
"status": "ACTIVE",
"created_at": "2016-08-29T08:00:00-04:00",
"updated_at": "2016-08-29T08:00:00-04:00"
} Key fields
| Field | Type | Example |
|---|---|---|
status | string | ACTIVE |
created_at | string | 2016-08-29T08:00:00-04:00 |
Full schema: 5 fields.
From Shopify docs
-
Content type
application/json
Route Shopify events by type.
Event Gateway receives every Shopify delivery and filters and routes it by event type, so each service gets only the events it handles.