Creating webhook for event orders/edited

KirbyFH
Tourist
5 0 1

Hi,

I am trying to add a webhook for event orders/edited, however this does not seem possible through Shopify admin:

  • Topic Invalid topic specified: orders/edited. Topics allowed: carts/create, carts/update, checkouts/create, checkouts/delete, checkouts/update, collections/create, collections/delete, collections/update, customer_groups/create, customer_groups/delete, customer_groups/update, customers/create, customers/delete, customers/disable, customers/enable, customers/update, disputes/create, disputes/update, draft_orders/create, draft_orders/delete, draft_orders/update, fulfillment_events/create, fulfillment_events/delete, fulfillments/create, fulfillments/update, order_transactions/create, orders/cancelled, orders/create, orders/delete, orders/fulfilled, orders/paid, orders/partially_fulfilled, orders/updated, products/create, products/delete, products/update, refunds/create, shop/update, themes/create, themes/delete, themes/publish, themes/update, inventory_levels/connect, inventory_levels/update, inventory_levels/disconnect, inventory_items/create, inventory_items/update, inventory_items/delete, locations/create, locations/update, locations/delete, tender_transactions/create

Am I am doing smth, wrong here?
How can I add a webhook for this event though Shopify admin?

0 Likes
ChuckWatson
Excursionist
21 2 2

In the Settings -> Notifications section you can add a webhook for Order Update

Screenshot 2020-12-22 105342.jpg

There's no meat in this?
0 Likes
KirbyFH
Tourist
5 0 1

Thank you very much, really appreciate your help. Unfortunately this is not what I was looking for - this option is for orders/updated, not orders/edited.

https://shopify.dev/docs/admin-api/rest/reference/events/webhook

Freddie_Lawson
Tourist
4 0 1

Agreed - I am also trying to find this webhook. It is detailed in the January 2020 API release docs here, https://www.shopify.co.uk/partners/blog/shopify-api-release-january-2020

But as the OP says, it is not available in the add a webhook interface...

Screenshot 2020-12-30 at 15.37.29.png

0 Likes
Freddie_Lawson
Tourist
4 0 1

Hi Kirby

I was able to solve this by subscribing to the webhook using the Shopify API (instead of selecting it in the dropdown in the Shopify admin)

The steps to do so are at the link below - just set the topic in your POST call to orders/edited

https://shopify.dev/docs/admin-api/rest/reference/events/webhook?api%5Bversion%5D=2020-10#create-202...

 

Hope that helps

Freddie