--- title: storefrontCustomerAccessTokenCreate - Customer API description: |- Exchanges the Customer Access Token, provided in the Authorization header, into a Storefront Customer Access Token. Renew this token each time you update the Customer Access Token found in the Authorization header. api_version: 2025-01 api_name: customer type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/mutations/storefrontCustomerAccessTokenCreate md: https://shopify.dev/docs/api/customer/2025-01/mutations/storefrontCustomerAccessTokenCreate.md --- # storefront​Customer​Access​Token​Create mutation Deprecated. The `storefrontCustomerAccessTokenCreate` is deprecated and will be removed in a future version. Please see [the changelog](https://shopify.dev/changelog/deprecation-of-storefrontcustomeraccesstokencreate-mutation) for more information. Exchanges the Customer Access Token, provided in the Authorization header, into a Storefront Customer Access Token. Renew this token each time you update the Customer Access Token found in the Authorization header. ## Storefront​Customer​Access​Token​Create​Payload returns * customer​Access​Token [String](https://shopify.dev/docs/api/customer/2025-01/scalars/String) The created access token. * user​Errors [\[User​Errors​Storefront​Customer​Access​Token​Create​User​Errors!\]!](https://shopify.dev/docs/api/customer/2025-01/objects/UserErrorsStorefrontCustomerAccessTokenCreateUserErrors) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### storefrontCustomerAccessTokenCreate reference ## Mutation Reference ```graphql mutation storefrontCustomerAccessTokenCreate { storefrontCustomerAccessTokenCreate { customerAccessToken userErrors { field message } } } ``` ## Input ```json {} ```