---
title: >-
  Deprecation of storefrontCustomerAccessTokenCreate Mutation - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/deprecation-of-storefrontcustomeraccesstokencreate-mutation
  md: >-
    https://shopify.dev/changelog/posts/deprecation-of-storefrontcustomeraccesstokencreate-mutation.md
metadata:
  effectiveApiVersion: 2025-01
  affectedApi:
    - displayName: Customer Account API
      handle: customer-account-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation announcement
    handle: deprecation-announcement
  indicatesActionRequired: false
  createdAt: '2024-11-27T15:03:25-05:00'
  postedAt: '2025-01-01T08:00:00-05:00'
  updatedAt: '2024-12-16T12:21:48-05:00'
  effectiveAt: '2025-01-01T08:00:00-05:00'
---

January 1, 2025

# Deprecation of `storefrontCustomerAccessTokenCreate` Mutation

DateJanuary 1, 2025

Version[2025-01](https://shopify.dev/changelog?api_version=2025-01)

Flags[Deprecation announcement](https://shopify.dev/changelog?filter=deprecation-announcement)

SurfacesAPI

Affected APIs[Customer Account API](https://shopify.dev/changelog?api_type=customer-account-graphql)

As of API version `2025-01`, the `storefrontCustomerAccessTokenCreate` mutation is deprecated. This mutation, which was used to exchange the Customer Access Token in the `Authorization` header for a Storefront Customer Access Token, is no longer necessary. The Storefront API now directly supports Access Tokens from the Customer Accounts API via the `@inContext` [BuyerInput#customerAccessToken](https://shopify.dev/docs/api/storefront/2025-01/input-objects/BuyerInput#field-customeraccesstoken), and can be used for cart creation and buyer updates.

**Migration Path:**

1. Obtain an access token using the OAuth2 specification. Detailed steps are available [here](https://shopify.dev/docs/api/customer#step-obtain-access-token). These steps are identical to those for obtaining an access token for the Customer Accounts API.
2. Use this access token directly with the Storefront API, replacing the deprecated `storefrontCustomerAccessTokenCreate` mutation.

This access token identifies your customer, enabling personalized features within the Storefront API.

For more information on the Customer Accounts API, visit [Shopify.dev](https://shopify.dev/docs/api/customer).
