fulfillments/create webhook

New Member
3 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

0 Likes
Shopify Staff
Shopify Staff
69 7 9

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 | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
New Member
3 0 0

Hi @_JB ,

 

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

 

Thank you

0 Likes
Highlighted
Shopify Staff
Shopify Staff
69 7 9

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 | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
New Member
3 0 0

Hi @_JB ,

 

Any news? I am still getting double calls. 

0 Likes