Skip to content
Advertisement

How to Make a ShopifyQL query?

Shopify recently announced ShopifyQL for easier accessing of analytics data. However, I’m unclear of how to actually make a ShopifyQL call. They do include an example.

JavaScript

However, using the GraphiQL tool to run the query hits a number of errors:

JavaScript

I also tried making an authenticated call with the example query above using my app’s Node server, but ran into the same issues.

What am I missing here?

Advertisement

Answer

Looks like it only works with the unstable version currently:

https://”+shop_name+”.myshopify.com/admin/api/unstable/graphql.json

Got a successful response with this.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement