Skip to main content
Anchor to StorefrontAccessToken

StorefrontAccessToken

object

A token that delegates unauthenticated access scopes to clients that need to access the Storefront API. Storefront access tokens enable headless storefronts and custom applications to interact with a store on behalf of customers without requiring authentication.

The token provides specific permissions, such as reading Product data, managing carts, or creating Customer accounts. An app can have a maximum of 100 active storefront access tokens for each Shop.

Learn more about building with the Storefront API.

[AccessScope!]!
non-null

List of permissions associated with the token.

String!
non-null

The issued public access token.

DateTime!
non-null

The date and time when the public access token was created.

ID!
non-null

A globally-unique ID.

String!
non-null

An arbitrary title for each token determined by the developer, used for reference purposes.

DateTime!
non-null

The date and time when the storefront access token was updated.


Was this section helpful?

mutation

Creates a storefront access token that delegates unauthenticated access scopes to clients using the Storefront API. The token provides public access to storefront resources without requiring customer authentication.

Each shop can have up to 100 active StorefrontAccessToken objects. Headless storefronts, mobile apps, and other client applications typically use these tokens to access public storefront data.

Learn more about building with the Storefront API.


Was this section helpful?

interface

Was this section helpful?