Whats the difference between orders/edited
and orders/updated
? The first one triggers when, for example, the buyer changes some info and the second one when status of the order it’s updated?
I need the webhook to trigger when the shipping address of an orden is changed.
I understand that it would be better to use the shipping_addresses/update
topic, but since it’s deprecated I don’t think it’s the best option.
Hi Joaquin,
Generally speaking, the orders/edited
webhook only triggers when an order is edited on the order edit page in admin, or when an order edit is committed through the order edit API. All order edits, and other order updates that are not through the order edit API, will trigger the orders/updated
webhook.
For this specific case updating a shipping address is not part of order editing, so you should be using the orders/updated
webhook.