I have a custom app set up in Shopify that I want to query from a React Native app with Apollo client.
I need to integrate the shop into the app, users need to browse and buy products for example.
The custom app is already converted to a sales channel too.
This is my query URI
https://{{my-store-name}}.myshopify.com/admin/api/2024-04/graphql.json
and in the headers I send Storefront API access token as the value of “X-Shopify-Access-Token” from the custom app > API credentials. I also tried “X-Shopify-Storefront-Access-Token” as the key.
I always get an error:
“errors”: “[API] Invalid API key or access token (unrecognized login or wrong password)”
What am I missing?