Shopify Graphql URI?

Anonymous
Not applicable
1809 0 0

Hi

I am setting up the following course about Apollo and Angular, but unfortunately I don't know which Graphql URI I need to add from Shopify to make queries?

https://apollo-angular.com/docs/get-started

I used the test url inside the url and it is working. I need the Graphql URI from shopify. I guess I need a token for access?

Can someone help? 

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 237

The GraphQL API endpoint should always be a POST request to https://{shop_name}.myshopify.com/admin/api/{api_version}/graphql.json, with the GQL passed into the request body. As for a token, once you create a private/custom app and gone through the OAuth install process into a shop (usually a development shop if you are just starting out) then you will have the API credentials that allow you access to those scoped entities (e.g. - orders, customers, products, etc.). 

Hope this helps a little! 

0 Likes