What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: fulfillments/create webhook

fulfillments/create webhook

kalitk0
Shopify Partner
6 0 0

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 

 

Screenshot 2019-11-30 at 14.28.54.png

Replies 4 (4)

_JB
Shopify Staff (Retired)
836 100 223

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

kalitk0
Shopify Partner
6 0 0

Hi @_JB ,

 

I have not set any webhooks in the admin, the shop id is 25365184567

 

Thank you

_JB
Shopify Staff (Retired)
836 100 223

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

kalitk0
Shopify Partner
6 0 0

Hi @_JB ,

 

Any news? I am still getting double calls.