Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Webhook identification inconsistency

Shopify Partner
5 0 0

When receiving the "x-shopify-shop-domain" header it doesn't seem to be consistent with {shop} format if the shop has an additional (main) domain like Note: it happens when sending a test notification via the button "Send test notification" after creating a new webhook.
The documentation doesn't say anything about whether the format is always {shop} or can sometimes be (source).
Can someone clarify this? Thanks!

Replies 2 (2)

Shopify Staff
1808 266 389

Hey @maxsym 


Thanks for flagging this. It appears to only be an issue with test webhooks triggered from the admin. The webhooks team have created an issue to resolve.

Scott | Developer Advocate @ Shopify 

Shopify Partner
3 0 1

Gosh, I've been banging my head against the wall wrangling with this issue. Please fix it!