Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello I am building app with fulfilment service. I have registered for fulfillments/create webhook, it is working but everytime a fulfilment is requested from shopify admin I am receiving two identical calls to my api endpoint
Hey @kalitk0,
Is it possible you've set up duplicate webhooks in the admin and through the API? Please note that webhooks created via API aren't visible in the admin, so make sure to check the "Settings" > "Notifications" page in the admin, and also check existing webhooks through the API. If you're only seeing 1 existing webhook, please provide the shop_id that your fulfillment service is currently installed on, and I can use that to check our logs.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey @kalitk0,
Thanks for providing the shop_id. I've taken a look and can see the behaviour you're describing. It seems that when creating a fulfillment when using a fulfillmentService, the fulfillment is first created and then a request is sent to the fulfillmentService, which results in both the create and update webhooks firing. I'm not entirely sure what the expected behaviour is here, so I'm going to raise the issue with our developers for further investigation. I'll post back here as soon as I have an update.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog