Setting a supply channel produces the StoreSupplyChannelsChanged Message.

Setting a [Channel](ctp:api:type:Channel) without the `InventorySupply` [ChannelRoleEnum](ctp:api:type:ChannelRoleEnum) returns a [MissingRoleOnChannel](ctp:api:type:MissingRoleOnChannelError) error.
interface StoreSetSupplyChannelsAction {
    action: "setSupplyChannels";
    supplyChannels?: ChannelResourceIdentifier[];
}

Properties

action: "setSupplyChannels"
supplyChannels?: ChannelResourceIdentifier[]

Value to set. If not defined, the Store's supplyChannels are unset.

Generated using TypeDoc