17 August 2020
Project configurationProduct catalog
You can now add Inventory Supply Channels to Stores. When querying ProductProjections, you can then use the query parameter 
storeProjection to remove all inventory entries from the response payload that don't correspond to the Inventory Supply Channels set in the Store.Setting Inventory Supply Channels on Stores also affects cart line items. If a cart is bound to a store and the store has Inventory Supply Channels set, then only inventory entries from these channels (and inventory entries not linked to any channel) are included in the product variant information of the line item. Additionally, the 
supplyChannel field on a line item can only be set to one of the inventory supply channels set in the store.To enable the configuration of inventory supply channels in Stores, the following changes have been made:
- [API] Added 
supplyChannelsfield to StoreDraft - [API] Added 
supplyChannelsfield to Store - [API] Added 
setSupplyChannelsupdate action to Store - [API] Added 
addSupplyChannelupdate action to Store - [API] Added 
removeSupplyChannelupdate action to Store - [GraphQL API] Added the following types to the GraphQL schema: 
SetStoreSupplyChannels,AddStoreSupplyChannel,RemoveStoreSupplyChannel. - [GraphQL API] Changed the 
StoreUpdateActiontype:- Input field 
setSupplyChannelswas added toStoreUpdateActiontype - Input field 
addSupplyChannelwas added toStoreUpdateActiontype - Input field 
removeSupplyChannelwas added toStoreUpdateActiontype 
 - Input field 
 - [GraphQL API] Changed the 
CreateStoretype:- Input field 
supplyChannelswas added toCreateStoretype 
 - Input field 
 - [GraphQL API] Changed the 
Storetype:- Added the 
supplyChannelsfield to theStoretype. - Added the 
supplyChannelsReffield to theStoretype. 
 - Added the 
 
Introduced the following changes to the GraphQL schema (in SDL format):
extend type Store {
  supplyChannels: [Channel!]!
  supplyChannelsRef: [Reference!]!
}
extend input StoreUpdateAction {
  setSupplyChannels: SetStoreSupplyChannels
  addSupplyChannel: AddStoreSupplyChannel
  removeSupplyChannel: RemoveStoreSupplyChannel
}
extend input CreateStore {
  supplyChannels: [ResourceIdentifierInput!]
}
input SetStoreSupplyChannels {
  supplyChannels: [ResourceIdentifierInput!]
}
input AddStoreSupplyChannel {
  supplyChannel: ResourceIdentifierInput!
}
input RemoveStoreSupplyChannel {
  supplyChannel: ResourceIdentifierInput!
}