shopify-api-js icon indicating copy to clipboard operation
shopify-api-js copied to clipboard

[Feature] Access to webhook id in handlers

Open tolgap opened this issue 3 years ago • 0 comments

Overview

I want to process webhooks in an idempotent way. Shopify provides us with X-Shopify-Webhook-Id headers. But these get lost in the webhook process function.

It would be great to have access to the webhook ID in my handlers.

Type

  • [ ] New feature
  • [x] Changes to existing features

Motivation

What inspired this feature request? What problems were you facing?

I want to process webhooks in an asynchronous way, using background workers. For this, I want to use the webhook ID as the background Job ID.

Checklist

  • [x] I have described this feature request in a way that is actionable (if possible)

tolgap avatar Apr 21 '22 12:04 tolgap