What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to access different Storefront API versions?

How to access different Storefront API versions?

Alexander82
Visitor
2 0 0

Hello,

The documentation states very clearly that the route should look like this:

For the GraphQL endpoint, enter https://<my_domain.com>/api/2019-07/graphql, where <my_domain.com> is the domain of your shop. The domain must be either a connected domain or your shop's <shop>.myshopify.com domain.

Unfortunately when using any version specific endpoint, such as this

 

"https://be-xu.myshopify.com/api/2020-10/graphql"

 

 The browser issues the following errors

version-shopify.jpg

 

 

 

 

 

When using the following route, however, everything works fine.

 

"https://be-xu.myshopify.com/api/graphql"

 

 

Any help would be greatly appreciated.

 

 

Reply 1 (1)

Jason_Tigas
Shopify Staff (Retired)
28 0 18

Try https://{{ store }}.myshopify.com/api/2020-10/graphql.json

To learn more visit the Shopify Help Center or the Community Blog.