Meridian delivers your app’s Shopify webhooks over Google Cloud Pub/Sub. Rather than each shop calling your endpoint directly, Shopify publishes events to a Pub/Sub topic and Meridian routes them to your app, a more reliable path for high-volume webhook traffic.
Webhook routing
For each app, Meridian manages which Shopify topics are subscribed and where they’re delivered:
- the topics your app listens for,
- the forward path each topic is delivered to in your app,
- and whether Shopify accepted the per-shop subscription.
Per-shop subscriptions are reconciled automatically as shops install and uninstall, so you don’t register webhooks by hand for every store. A store that reinstalls within a minute or so of uninstalling is a special case: the reinstall finds the previous install’s subscriptions still in place, and Shopify deletes them shortly after. On an app deployed on Meridian with its session database, Meridian registers them again 2 and 10 minutes after it handles the uninstall. On an app hosted off Meridian, a change to the topic set reaches the stores that already installed it only when each one next authenticates (see Re-registering webhooks).
Where forwards go
- Production only. Meridian forwards every topic to your app’s production environment (an app without one: its first environment). Development and staging environments never receive forwarded webhooks, and neither does an app running locally with
meridian dev. Test a webhook handler on production with a development store.
- Topics in
shopify.app.toml skip Meridian. A topic declared in the [webhooks] section of your shopify.app.toml goes from Shopify straight to the URL you gave there. It never appears in Meridian’s deliveries, and it is verified with Shopify’s HMAC, not Meridian’s signature. Route each topic one way only, or your app gets it twice. See Webhooks declared in shopify.app.toml.
- No MCP write. Topics, forward paths and the forward host change on this page only (with Hosting: Edit). Meridian MCP reads them and their deliveries.
Adding a webhook
Add webhook on the Webhooks tab pre-fills the forward path with /webhooks/shopify, the same for every topic. That is the route the SDK’s receiver answers on (see The receiver route), where one handler switches on the verified topic, in Shopify’s header form (orders/create). The field stays editable. Whatever path you keep, your app must serve a route there: a path no route answers fails every delivery for that topic with a 404 (see Retries and permanent failures). Leave the field empty to register the topic without forwarding it.
A route you added before keeps the path it was saved with. To move it to /webhooks/shopify, edit it and click Reset.
Registration status
On an app whose production environment is deployed on Meridian with a ready database (Meridian reads the store tokens from its session table), saving the topic set registers every topic on each store that has the app installed. The Delivery column of the Webhooks table then shows where each topic stands:
- Registering…: the registration is queued. It usually settles within seconds, and can take a few minutes while a deploy is running.
- Registration failed: at least one store refused the subscription, or Meridian couldn’t reach that store at all (for example, its access token was revoked). Hover the label to read the reason, which names the store when it couldn’t be reached.
- Registered · no events yet: every store accepted the subscription, and Shopify hasn’t sent an event yet.
- No outcome recorded: no store reported back within 30 minutes of the save. Save any change on the Webhooks table to register every topic again.
Stores that uninstalled your app are left out.
Deliveries
The webhooks view lists recent inbound deliveries: topic, shop, status, attempts, and the response code your handler returned. This separates two failures that look identical from inside your code:
- No delivery row for a topic means Shopify never sent it to Meridian. Check the route and its registration, and that the topic isn’t declared in
shopify.app.toml (those go straight to your app, see Where forwards go).
- A 4xx/5xx response code means it arrived and your handler rejected it.
The live delivery log and its throughput tiles refresh every 15 seconds while the Pub/Sub tab is visible. Returning to the tab refreshes them immediately, so you can trigger a webhook in another tab and see its delivery without reloading once Meridian has ingested the event.
The webhook body and its HMAC headers aren’t shown in list views. Read a specific payload in the dashboard when you need one.
Meridian’s own topics
The five topics Meridian registers on every store for its own needs (see What the SDK registers for you) are handled by Meridian whether or not you forward them. They count toward your plan’s Pub/Sub allowance only when you set a forward path for them, and they are never held, even past the allowance.
A SHOP_UPDATE you don’t forward carries the whole shop each time, so Meridian applies the first one of a burst at once, then the latest one at most every five minutes for each store. The deliveries in between show as Ignored with the reason Superseded by a later shop/update for this store. A SHOP_UPDATE you forward reaches your app every time, without delay.
Retries and permanent failures
Meridian waits 30 seconds for your app’s answer. When your app can’t take a forward right now, Meridian tries again, up to three attempts in total, waiting at least 10 seconds and then 30 seconds between them. That covers a timeout or connection error, any 5xx, and 408, 425 and 429. A handler that finishes after the 30 seconds gets the same event again, so answer 200 quickly, do slow work afterwards, and skip a webhookId you already handled (the verifier returns it, see The receiver route).
Every other answer outside 2xx is final, including 3xx, 401 and 403. Meridian doesn’t retry it: the delivery is marked Failed after one attempt (the attempts column reads 1 / 3), and its error names the status and the path your app answered at. While a topic’s latest delivery failed this way, its row on the Webhooks tab reads Last forward failed: HTTP 404 (with the actual status). What to check:
- 404, 405 or 410: the topic’s forward path points at a route your app doesn’t serve. Change the path on the Webhooks tab, or add that route to your app.
- 401 or 403: your app most likely couldn’t verify the forward’s signature. If the route still calls Shopify’s
authenticate.webhook (the template’s webhook routes do), it refuses every forward: a forward is signed by Meridian, not by Shopify, so verify it with verifyMeridianWebhookDetailed (see The receiver route). Otherwise check that MERIDIAN_WEBHOOK_SECRET holds this app’s current signing secret, then redeploy. See Rotating the signing secret.
- 301, 302, 303, 307 or 308: your app redirected the forward. Meridian doesn’t follow redirects. Point the forward host and the topic’s path at the URL that answers directly.
- Any other status: your handler refused the event. Check what it returns for that topic.
Meridian only forwards to public addresses, and checks the forward host’s address before every attempt. A forward host that resolves to a private, loopback or link-local address fails the delivery after one attempt, without sending it, and the error names the address. This applies to an external domain whose DNS points into a private network.
A fix applies from the next event on. A delivery that already failed isn’t sent again.
A delivery waiting for a plan change
Meridian applies one plan change per store at a time. A subscription update or an uninstall that arrives while one is going through for the same store is still forwarded to your app as usual, but Meridian’s own handling of it waits. The delivery shows as Received with Waiting for a plan change on this store to finish. Retried automatically., and Meridian tries again every 30 seconds until the store is free. Waiting uses none of its three attempts. Last modified on November 10, 2026