Is orders/create webhook needed if we are subscribed to orders/update?

Solved
mmccall10
New Member
2 0 0

When an order is placed both orders/create and orders/update webhooks gets sent. It appears there is no need to subscribe to both if you are subscribed to orders/update. Is there a case where orders/create would fire and orders/update will not? The payload for both webhooks is exactly the same at the point of creation.

0 Likes
hassain
Shopify Staff (Retired)
Shopify Staff (Retired)
624 103 134

This is an accepted solution.

Hey @mmccall10 

 

There are subtle differences between the orders/create webhook payload on order creation and the orders/update webhook on order creation, but in general these two payload will be almost identical.

 

From my testing, there are no cases where orders/create would fire and orders/update will not. However if you are only interested in order creation and do not want to be updated every time an order is fulfilled or refunded or updated, it might make more sense to only subscribe to orders/create

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
mmccall10
New Member
2 0 0

They get handled by the same idempotent handler. I am interested in both create and update. So it sounds like orders/update is the way to go. Thank you for your response.

0 Likes