Shopify tightens B2B customer account data access
Shopify changed B2B data access across all Customer Account API versions on 17 November. Customers can now read company data and orders only for companies they belong to, with location data further…
Shopify changed B2B data access across all Customer Account API versions on 17 November. Customers can now read company data and orders only for companies they belong to, with location data further restricted by their assigned roles. The developer changelog says the schema is unchanged, but some fields return null, empty lists or fewer results.
Location roles determine what is visible
A company contact’s locations list is empty unless that contact belongs to the current customer. The customer sees locations where they have a role through their own contact’s locations, the company’s locations and a direct company-location lookup.
For a location where the customer has no role, tax-identifier data and contact-related fields are withheld. A portal that previously read these through another contact or through an order’s purchasing entity must be prepared for null or empty results.
Order history changes when membership ends
When a merchant removes a customer from a company, direct order and draft-order lookups refuse access to that company’s orders. The customer’s order-history lists also exclude those company orders and drafts. Personal orders remain listed.
This matters for a buyer who changes employer or loses responsibility for a location. A custom portal should not treat the reduced history as permission to retrieve the same information through another route. Its display needs to reflect the customer’s current access.
What developers and merchants should test
Shopify says queries do not need to change. The work is in checking how the application handles the responses. Test a buyer with one location, a buyer with several roles and a buyer removed from a company. Check empty states, tax and contact displays, and both order and draft-order history.
Use test accounts and avoid exposing restricted details in error messages or cached screens. If an authorised buyer cannot see expected data, have the merchant check the person’s company membership and location roles before treating it as a rendering defect.
This is an access-control change to the Customer Account API. It does not announce a change to Shopify’s B2B plan entitlements, nor does an unchanged GraphQL schema mean the returned data will be unchanged.
More from Shopify
See all →
Before Black Friday, test what a Shopify webhook retry sends twice

