Is there GQL / REST API to get purchase orders and suppliers?

I could not find any Shopify Admin API to get test store’s purchase orders or the suppliers. Could someone help me where I can get those using API?

Hi Jimin,

The Admin API is a bit limited when it comes to purchase orders - there’s no easy way to query them (or create them) but there are webhooks in the unstable version that you can subscribe to which will give you this info:

You can’t even subscribe to them, it just returns an error “You cannot create a webhook subscription with the specified topic”

Are you trying on the unstable version?

Yes, using the Shopify GraphQL app, changing the API version results in an error message “Argument ‘topic’ on Field ‘webhookSubscriptionCreate’ has an invalid value (PURCHASE_ORDERS_CREATE). Expected type ‘WebhookSubscriptionTopic!’.”

Hi again,

It actually looks like these webhooks might not be functional at all - confirming with our team now.