Skip to main content
Version: 3.x

ChannelCreateInput

No description

input ChannelCreateInput {
isActive: Boolean
stockSettings: StockSettingsInput
addShippingZones: [ID!]
addWarehouses: [ID!]
name: String!
slug: String!
currencyCode: String!
defaultCountry: CountryCode!
}

Fields

isActive (Boolean)

isActive flag.

stockSettings (StockSettingsInput)

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.

addShippingZones ([ID!])

List of shipping zones to assign to the channel.

addWarehouses ([ID!])

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.

name (String!)

Name of the channel.

slug (String!)

Slug of the channel.

currencyCode (String!)

Currency of the channel.

defaultCountry (CountryCode!)

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.

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