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