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.

When does "orders/update" webhook triggered?

Solved

When does "orders/update" webhook triggered?

abishekrs
Shopify Partner
25 3 8

 

Could someone help understand what events trigger "orders/update"?

 

Do the following events trigger it?

  • When a fulfillment for an order is created?
  • When a fulfillment event on an Orders fulfillment is created?
  • On transaction updates on an Order? (Like Refunds, Quantity increases)
  • When an Order is cancelled?
  • When Customer Address is updated.
  • When Notes are added to the Order.

 

The reason I ask is because we use a database that charges based reads and writes and we want to make sure we keep the reads and writes to the minimal and not listen to duplicate events. It would be great 

Accepted Solution (1)

Bunty
Shopify Partner
133 39 82

This is an accepted solution.

The 'orders/updated' webhook gets trigger by any update to the order. To answer your questions explicitly:

 

Do the following events trigger it?

  • When a fulfillment for an order is created? Yes
  • When a fulfillment event on an Orders fulfillment is created? Yes
  • On transaction updates on an Order? (Like Refunds, Quantity increases) Yes
  • When an Order is cancelled? Yes
  • When Customer Address is updated. Yes
  • When Notes are added to the Order. Yes

Hope this helps

View solution in original post

Replies 2 (2)

Bunty
Shopify Partner
133 39 82

This is an accepted solution.

The 'orders/updated' webhook gets trigger by any update to the order. To answer your questions explicitly:

 

Do the following events trigger it?

  • When a fulfillment for an order is created? Yes
  • When a fulfillment event on an Orders fulfillment is created? Yes
  • On transaction updates on an Order? (Like Refunds, Quantity increases) Yes
  • When an Order is cancelled? Yes
  • When Customer Address is updated. Yes
  • When Notes are added to the Order. Yes

Hope this helps

Sergiy_Cherevko
Shopify Partner
14 0 4

In my case,  when I make a purchase - create an order in my new store -  'orders/updated' webhook arrives before or after 'orders/create' webhook within milliseconds from each other.

The store is new, no customization that would update the order automatically.