Test Shopify webhooks
Shopify topics (orders/create, products/update, …) arrive with an HMAC header. Capture the raw body so your verification logic matches production.
Setup
- Create a ReplayHooks endpoint.
- In Shopify admin → Settings → Notifications → Webhooks (or your app's webhook config).
- URL:
https://hook.replayhooks.com/x/<your-token> - Format: JSON
- Create a test order or use Shopify's “Send test notification”.
curl -X POST https://hook.replayhooks.com/x/<your-token> \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Topic: orders/create' \
-H 'X-Shopify-Hmac-Sha256: <hmac>' \
-H 'X-Shopify-Shop-Domain: acme.myshopify.com' \
-d '{"id":1234567890,"email":"buyer@example.com"}'
◈ inspector · shopify
Events
POST/shopify
just now
POST/…
PayloadHeadersQueryRaw
X-Shopify-Topic: orders/create
{
"id": 5678,
"total_price": "42.00"
}Replay to your app
After you fix HMAC verification or order processing, replay the same event to https://your-app/webhooks/shopify without placing another order.