---
title: >-
  New Storefront API CartErrorCode: BUYER_CANNOT_PURCHASE_FOR_COMPANY_LOCATION -
  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/new-storefront-api-carterrorcode-buyercannotpurchaseforcompanylocation
  md: >-
    https://shopify.dev/changelog/posts/new-storefront-api-carterrorcode-buyercannotpurchaseforcompanylocation.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Storefront API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-05-02T12:00:34-04:00'
  postedAt: '2025-05-10T12:00:00-04:00'
  updatedAt: '2025-05-02T18:52:59-04:00'
  effectiveAt: '2025-05-10T12:00:00-04:00'
---

May 10, 2025

# New Storefront API CartErrorCode: BUYER\_CANNOT\_PURCHASE\_FOR\_COMPANY\_LOCATION

DateMay 10, 2025

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

FlagsNew

SurfacesAPI

Affected APIs[Storefront API](https://shopify.dev/changelog?api_type=storefront-graphql)

We've introduced a `BUYER_CANNOT_PURCHASE_FOR_COMPANY_LOCATION` [`CartErrorCode`](https://shopify.dev/docs/api/storefront/2025-07/enums/CartErrorCode), which indicates a buyer has lost permission to purchase for their selected company location.
