Solved

Webhooks for Purchase Orders

sergeich
Shopify Partner
5 0 0

Is there a way to listen to Purchase Order events via the Webhook system? This seems to be unsupported now (https://shopify.dev/docs/api/admin-graphql/2023-07/enums/WebhookSubscriptionTopic

Accepted Solution (1)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi Sergeich,

 

From looking into this there doesn't seem to be an easy way to listen for purchase order related events via a webhook, or our API. The closest I could find is the `suppliers_update` webhook but this is in our unstable API version, so it wouldn't be recommended to use in any production environment. I'll pass on this feedback however as a feature request to see if it can be exposed in future updates. 

 

Hope this helps,

Liam | Developer Advocate @ 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

View solution in original post

Replies 8 (8)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi Sergeich,

 

From looking into this there doesn't seem to be an easy way to listen for purchase order related events via a webhook, or our API. The closest I could find is the `suppliers_update` webhook but this is in our unstable API version, so it wouldn't be recommended to use in any production environment. I'll pass on this feedback however as a feature request to see if it can be exposed in future updates. 

 

Hope this helps,

Liam | Developer Advocate @ 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

Hotcrown
Visitor
1 0 0

can i have more information about the "supplier update" webhook, i didnt suceed to find it in the list of webhooks?

FKI
Shopify Partner
9 1 0

I see a bunch of webhooks relating to Purchase Orders in the unstable API version; unfortunately none of them are in the latest 2024-1 release candidate. Is there a timeline for their incorporation in the stable API? 

Liam
Shopify Staff
2731 299 769

There is no guarantee that events or endpoints in the unstable version will be added into the stable version of the API - I will ask internally if these events are on the road map however.

Liam | Developer Advocate @ 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

Tristan3dt
Shopify Partner
36 0 16

Hi, is there any update on this please?

joefitter
Shopify Partner
1 0 0

Hi Liam, checking in to see if there is any update on this issue?

 

I am building an inventory management app and webhooks on purchase order/incoming stock events would be a huge improvement to the user experience


Many thanks!

 

cooperandco
Shopify Partner
7 1 2

Hey Liam,

 

Hope you're doing well!

 

Just wanted to touch base regarding the integration of Webhooks with Purchase Orders. It's been on our radar for a bit, and we're eager to see if there's any progress or updates on this front. This integration could really open up some exciting new functionalities for our partners and app developers.

 

Could you spare a moment to chat with the team and give us a heads-up on where things stand with these events being added to the roadmap?

 

Thanks a bunch for your time!

 

Sam Cooper
Cooper & Co - Shopify Experts
Cooper & Co Website

Reynaldo_Zabala
Excursionist
11 0 9

Our team is also looking to incorporate Purchase Order creation events to Shopify Flow so we can autogenerate purchase orders in our accounting System (quickbooks). We cannot figure out a way to determine when a Purchase Order has been created in the Admin interface.