Skip to main content
Version: 3.x

ChannelUpdateInput

No description

input ChannelUpdateInput {
isActive: Boolean
stockSettings: StockSettingsInput
addShippingZones: [ID!]
addWarehouses: [ID!]
name: String
slug: String
defaultCountry: CountryCode
removeShippingZones: [ID!]
removeWarehouses: [ID!]
}

Fields

ChannelUpdateInput.isActive ● Boolean scalar

isActive flag.

ChannelUpdateInput.stockSettings ● StockSettingsInput input

The channel stock settings.

Added in Saleor 3.7.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

ChannelUpdateInput.addShippingZones ● [ID!] list scalar

List of shipping zones to assign to the channel.

ChannelUpdateInput.addWarehouses ● [ID!] list scalar

List of warehouses to assign to the channel.

Added in Saleor 3.5.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

ChannelUpdateInput.name ● String scalar

Name of the channel.

ChannelUpdateInput.slug ● String scalar

Slug of the channel.

ChannelUpdateInput.defaultCountry ● CountryCode enum

Default country for the channel. Default country can be used in checkout to determine the stock quantities or calculate taxes when the country was not explicitly provided.

Added in Saleor 3.1.

ChannelUpdateInput.removeShippingZones ● [ID!] list scalar

List of shipping zones to unassign from the channel.

ChannelUpdateInput.removeWarehouses ● [ID!] list scalar

List of warehouses to unassign from the channel.

Added in Saleor 3.5.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

Member of

channelUpdate mutation