Skip to main content
Version: 3.x

ChannelCreateInput

No description

input ChannelCreateInput {
isActive: Boolean
stockSettings: StockSettingsInput
addShippingZones: [ID!]
addWarehouses: [ID!]
orderSettings: OrderSettingsInput
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
checkoutSettings: CheckoutSettingsInput
paymentSettings: PaymentSettingsInput
name: String!
slug: String!
currencyCode: String!
defaultCountry: CountryCode!
}

Fields

ChannelCreateInput.isActive ● Boolean scalar

Determine if channel will be set active or not.

ChannelCreateInput.stockSettings ● StockSettingsInput input

The channel stock settings.

Added in Saleor 3.7

ChannelCreateInput.addShippingZones ● [ID!] list scalar

List of shipping zones to assign to the channel.

ChannelCreateInput.addWarehouses ● [ID!] list scalar

List of warehouses to assign to the channel.

Added in Saleor 3.5

ChannelCreateInput.orderSettings ● OrderSettingsInput input

The channel order settings

Added in Saleor 3.12

ChannelCreateInput.metadata ● [MetadataInput!] list input

Channel public metadata.

Added in Saleor 3.15

ChannelCreateInput.privateMetadata ● [MetadataInput!] list input

Channel private metadata.

Added in Saleor 3.15

ChannelCreateInput.checkoutSettings ● CheckoutSettingsInput input

The channel checkout settings

Added in Saleor 3.15
This API is currently in Feature Preview and can be subject to changes at later point.

ChannelCreateInput.paymentSettings ● PaymentSettingsInput input

The channel payment settings

Added in Saleor 3.16
This API is currently in Feature Preview and can be subject to changes at later point.

ChannelCreateInput.name ● String! non-null scalar

Name of the channel.

ChannelCreateInput.slug ● String! non-null scalar

Slug of the channel.

ChannelCreateInput.currencyCode ● String! non-null scalar

Currency of the channel.

ChannelCreateInput.defaultCountry ● CountryCode! non-null 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

Member of

channelCreate mutation


Was this page helpful?