All Release Notes
Added 'inheritedStores' field to Business Units in GraphQL
5 May 2023
Enhancement
GraphQLB2B
The GraphQL API now supports querying inherited Stores of a Business Unit. Visit the API reference for more information on additional GraphQL fields available on Business Units.
Changes:
- [GraphQL API] Changed the
BusinessUnit
type:- Added the
inheritedStores
field to theBusinessUnit
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type BusinessUnit {"This field contains the inherited stores from its parentUnit if storeMode is set to FromParent."inheritedStores: [InheritedStore!]}"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"type InheritedStore {store: StorestoreRef: KeyReference!}