Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'm testing a simple API call in PostMan to get a list of orders. I have used both URL endpoints, https://{store_name}.myshopify.com/admin/api/2025-01/graphql.json and https://{store_name}.myshopify.com/api/2025-01/graphql.json, with an error response.
The Header X-Shopify-Access-Token is set to the APP's Admin API access token.
The query is
https://{store_name}.myshopify.com/admin/api/2025-01/graphql.json response:
Hi @Barbb
To query Shopify Admin Graphql API, you should use url:
https://{store_name}.myshopify.com/admin/api/2025-04/graphql.json
Pay attention that you should add a admin access token for this: https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/generate-app-access-t...
Don't forget that your admin access token need to grant exactly scope of your query.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025