---
title: >-
  Updated B2B location access in the Customer Account API - 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/updated-b2b-location-access-in-the-customer-account-api
  md: >-
    https://shopify.dev/changelog/posts/updated-b2b-location-access-in-the-customer-account-api.md
metadata:
  effectiveApiVersion: ''
  affectedApi:
    - displayName: Customer Account API
      handle: customer-account-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2026-11-10T13:53:13-05:00'
  postedAt: '2026-11-17T12:00:00-05:00'
  updatedAt: '2026-11-16T13:58:50-05:00'
  effectiveAt: '2026-11-11T12:00:00-05:00'
---

November 17, 2026

# Updated B2B location access in the Customer Account API

DateNovember 17, 2026

FlagsUpdate

Tags[Security](https://shopify.dev/changelog?filter=security)[Customer Account API](https://shopify.dev/changelog?api_type=customer-account-graphql)

We've changed what B2B customers can read on all versions of the Customer Account API. Customers now read only the company data and the orders for companies that they belong to.

**Company location access**

The schema doesn't change. Some fields now return `null`, an empty list, or fewer results.

[`CompanyContact.locations`](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact) returns an empty list unless the contact belongs to the current customer. The current customer reads the locations that they have a role in from their contact's `locations` field, from `Company.locations`, and from `companyLocation(id:)`.

On a [`CompanyLocation`](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation) where the current customer has no role, the following fields return `null` or an empty list:

* Tax field: `taxIdentifier`.
* Contact fields: `contacts` and `roleAssignments`.

**Orders after a customer is removed from a company**

When a merchant removes a customer from a company, `order(id:)` and `draftOrder(id:)` refuse that company's orders and draft orders. [`customer.orders`](https://shopify.dev/docs/api/customer/latest/objects/Customer) and `customer.draftOrders` exclude the orders and draft orders for that company. The customer's personal orders are still listed.

**What you need to do**

If your app reads a location's tax or contact data through another contact's `locations` or through an order's `purchasingEntity`, then expect `null` or an empty list for locations where the customer has no role. If your app shows a customer's order history, then the history omits the orders that the customer placed for a company that they no longer belong to. You don't need to change your queries.
