GraphQL Schema Updates

The root company query on the Storefront GraphQL API is now deprecated. B2B company data lives under the authenticated customer’s activeCompany context, introduced in July, and integrations should migrate to it.

Storefront GraphQL

  • Query.company deprecated: query customer { activeCompany { ... } } instead. The ActiveCompany type exposes the same addresses, address, and orders fields as CompanyQueries.
  • CompanyQueries.addresses deprecated: use customer { activeCompany { addresses { ... } } }. Pagination, CompanyAddressFiltersInput filtering, and CompanyAddressSortInput sorting are unchanged.
  • No behavior change today: the deprecated fields continue to resolve. A sunset date has not been set; migrate before removal is announced.

For schema details, browse the Storefront GraphQL API reference.