All Release Notes

Introduced Store-based data fencing for Business Units

10 January 2025
Composable Commerce
HTTP API
Enhancement
B2BCustomersGraphQL

We have introduced in-store endpoints for Business Units. These endpoints give access only to Business Units associated with specific Stores. Additionally, the Business Units can now represent inherited Stores.

This feature is only available as part of Composable Commerce for B2B and will be subject to additional terms and pricing. To get access to Composable Commerce for B2B, contact the Composable Commerce support team.

Changes:

  • [API] Added in-store endpoints for Business Units.
  • [API] Added view_business_units:{projectKey}:{storeKey} and manage_business_units:{projectKey}:{storeKey} scopes.
  • [API] Added inheritedStores field to the BusinessUnit type.
  • [GraphQL API] Added the businessUnit field to the InStore type.
  • [GraphQL API] Added the storeKey argument to the Mutation.createBusinessUnit, Mutation.updateBusinessUnit, and Mutation.deleteBusinessUnit fields.

The following changes were introduced in terms of GraphQL SDL:

extend type InStore {
businessUnit(
"Queries with specified ID"
id: String,
"Queries with specified key"
key: String): BusinessUnit
businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult!
}