ChannelCreateInput Input Type
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
isActive
isActive · Boolean
Determine if channel will be set active or not.
stockSettings
stockSettings · StockSettingsInput
The channel stock settings.
addShippingZones
addShippingZones · [ID!]
List of shipping zones to assign to the channel.
addWarehouses
addWarehouses · [ID!]
List of warehouses to assign to the channel.
orderSettings
orderSettings · OrderSettingsInput
The channel order settings
metadata
metadata · [MetadataInput!]
Channel public metadata. Can be read by any API client authorized to read the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
privateMetadata
privateMetadata · [MetadataInput!]
Channel private metadata. Requires permissions to modify and to read the metadata of the object it’s attached to.
Warning: never store sensitive information, including financial data such as credit card details.
checkoutSettings
checkoutSettings · CheckoutSettingsInput
The channel checkout settings
paymentSettings
paymentSettings · PaymentSettingsInput
The channel payment settings
name
name · String!
Name of the channel.
slug
slug · String!
Slug of the channel.
currencyCode
currencyCode · String!
Currency of the channel.
defaultCountry
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.
Used by
Schema: Saleor 3.23.43. Download SDL.