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

  1. Create a ReplayHooks endpoint.
  2. In Shopify admin → Settings → Notifications → Webhooks (or your app's webhook config).
  3. URL: https://hook.replayhooks.com/x/<your-token>
  4. Format: JSON
  5. 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
Shopify order webhook in inspector

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.