S
Shopify Storefront GraphQL API
Details
- Endpoint
-
https://graphql.myshopify.com/api/graphql.json - Spec
- introspection
- Docs
- https://shopify.dev/docs/api/storefront/latest
Authentication
X-Shopify-Storefront-Access-Token: <credential> Create a public Storefront API token either by calling the GraphQL Admin API `storefrontAccessTokenCreate` mutation, or by creating a custom app in Shopify admin and retrieving its Storefront API access token there. Use the token in the X-Shopify-Storefront-Access-Token header.
Shopify-Storefront-Private-Token: <credential> Create a private Storefront API access token for server-side use from your Shopify app/custom app as described in Shopify API authentication. Shopify documents private access tokens as the server-side token option for the Storefront API. Send it in the Shopify-Storefront-Private-Token header.