Anchor to storefrontAccessTokenCreatestorefront
mutationstorefront Access Token Create
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 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.
Anchor to Arguments
Arguments
- Anchor to inputinput•Storefront
Access Token Input! required Provides the input fields for creating a storefront access token.
Was this section helpful?
- Anchor to shopshop•Shop!non-null
The user's shop.
- Anchor to storefrontAccessTokenstorefront•Storefront
Access Token Access Token The storefront access token.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?