Skip to content

Add shopify-webhook-id header for Events webhooks#3129

Merged
byrichardpowell merged 1 commit intomainfrom
kinngh/add-events-webhook-id-header
Apr 15, 2026
Merged

Add shopify-webhook-id header for Events webhooks#3129
byrichardpowell merged 1 commit intomainfrom
kinngh/add-events-webhook-id-header

Conversation

@s-harshdeep
Copy link
Copy Markdown
Contributor

Summary

  • Adds shopify-webhook-id as a required header for Events webhooks — this is the true idempotency key for webhook deliveries
  • Previously, eventId (shopify-event-id) was used as a fallback for webhookId in Remix and React Router. Both fields now coexist and represent distinct values
  • Updates validation, types, and downstream packages (Remix, React Router) across the board

Test plan

  • shopify-api webhook validate tests pass (header extraction, missing header cases)
  • shopify-app-remix webhook authenticate tests pass
  • shopify-app-react-router webhook authenticate tests pass
  • Build succeeds across all packages

🤖 Generated with Claude Code

The shopify-webhook-id header is the true idempotency key for webhook
deliveries. Previously only eventId was extracted for Events webhooks
and was used as a fallback for webhookId in Remix and React Router.
Both fields now coexist as distinct required values.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@byrichardpowell byrichardpowell force-pushed the kinngh/add-events-webhook-id-header branch from d17f99c to e4db082 Compare April 15, 2026 12:47
@byrichardpowell byrichardpowell merged commit ab9ccbb into main Apr 15, 2026
13 checks passed
@byrichardpowell byrichardpowell deleted the kinngh/add-events-webhook-id-header branch April 15, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants