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
{
“query”: “query { orders(first: 10) { edges { node { id } } } }”
}
https://{store_name}.myshopify.com/admin/api/2025-01/graphql.json response:
{
“errors”: “[API] Invalid API key or access token (unrecognized login or wrong password)”
}
https://{store_name}.myshopify.com/api/2025-01/graphql.json response:
{
“errors”: [
{
“message”: “This store is unavailable”,
“extensions”: {
“code”: “NOT_FOUND”
}
}
]
}