Storefront API quickstart

Use the Storefront API for customer-facing catalog, cart, checkout, and account experiences. Unlike the Admin API, it is designed around the context of a particular store and shopper.

Endpoint

Send GraphQL requests to:

Code in curl

Public catalog queries do not use an Admin token. Customer account operations use a customer bearer token obtained through customerAccessTokenCreate.

Query products

Pass an explicit store and price context in production. This makes product visibility and price selection predictable across requests.

Code in graphql

Treat money as integer minor units and display it using currencyCode and fractionDigits. Treat Thor’s returned price and cart totals as authoritative.

Next steps