Skip to main content
Anchor to StorefrontAccessTokenCreatePayload

StorefrontAccessTokenCreatePayload

payload

Return type for storefrontAccessTokenCreate mutation.

•Shop!
non-null

The user's shop.

Anchor to storefrontAccessTokenstorefrontAccessToken
•StorefrontAccessToken

The storefront access token.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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?