Shopify webhook

ekta_bhut
Shopify Partner
6 0 0

Hello, 

I am using Shopify API, and I am integrated my system with Shopify. I have enabled webhook in my system for order create and order updates.

I am updating order tracking information using fulfillment API, and at the same time order update webhook is triggered, In my system, there is no use of such webhook calls because it is called for fulfillment creation. Is there any way that I don't get such kind of webhooks in the response, and or any signature that I can ignore that.

Thanks in advance!

Replies 3 (3)

mrad
Shopify Staff (Retired)
63 10 15

If you don't want the update response, you can unsubscribe from the orders/updated webhook

mrad | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ekta_bhut
Shopify Partner
6 0 0

I don't want update webhook in special case only, otherwise I need update order webhook

BStubbs
Shopify Partner
136 16 62

You'd probably need to keep a record of what orders you've already seen. A database table with the order number would be the way to go. Get the webhook and if the order has been processed before just ignore it.

Was this helpful? Press like!
Did it fix the problem? Mark it as the solution for others!
Buy me a beer? Well, sure!