Skip to main content
The Storefront API is a public GraphQL endpoint for building commerce experiences. It powers the Storefront SDK under the hood, but you can also query it directly with any GraphQL client.

Endpoint

Authenticated with a storefront API key. Safe to call from the browser.

When to use the API directly

Most developers use the Storefront SDK (React hooks). Use the raw GraphQL API when:
  • You’re not building with React
  • You need server-side data fetching
  • You want full control over queries and caching

Available operations

Making requests

Mutation responses

All mutations return a consistent result type:
Check success before using data. If success is false, inspect error_code and message for details.

Error codes

An Admin API with full read/write access for server-side operations is coming soon.