Channel Object
Represents channel.
type Channel implements Node, ObjectWithMetadata {
id: ID!
privateMetadata: [MetadataItem!]!
privateMetafield(
key: String!
): String
privateMetafields(
keys: [String!]
): Metadata
metadata: [MetadataItem!]!
metafield(
key: String!
): String
metafields(
keys: [String!]
): Metadata
slug: String!
name: String!
isActive: Boolean!
currencyCode: String!
hasOrders: Boolean!
defaultCountry: CountryDisplay!
warehouses: [Warehouse!]!
countries: [CountryDisplay!]
availableShippingMethodsPerCountry(
countries: [CountryCode!]
): [ShippingMethodsPerCountry!]
stockSettings: StockSettings!
orderSettings: OrderSettings!
checkoutSettings: CheckoutSettings!
paymentSettings: PaymentSettings!
taxConfiguration: TaxConfiguration!
}
Fields
id ● ID!
The ID of the channel.
privateMetadata ● [MetadataItem!]!
List of private metadata items. Requires staff permissions to access.
privateMetafield ● String
A single key from private metadata. Requires staff permissions to access.
Tip: Use GraphQL aliases to fetch multiple keys.
key ● String!
privateMetafields ● Metadata
Private metadata. Requires staff permissions to access. Use keys to control which fields you want to include. The default is to include everything.
keys ● [String!]
metadata ● [MetadataItem!]!
List of public metadata items. Can be accessed without permissions.
metafield ● String
A single key from public metadata.
Tip: Use GraphQL aliases to fetch multiple keys.
key ● String!
metafields ● Metadata
Public metadata. Use keys to control which fields you want to include. The default is to include everything.
keys ● [String!]
slug ● String!
Slug of the channel.
name ● String!
Name of the channel.
isActive ● Boolean!
Whether the channel is active.
currencyCode ● String!
A currency that is assigned to the channel.
hasOrders ● Boolean!
Whether a channel has associated orders.
defaultCountry ● CountryDisplay!
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.
warehouses ● [Warehouse!]!
List of warehouses assigned to this channel.
countries ● [CountryDisplay!]
List of shippable countries for the channel.
availableShippingMethodsPerCountry ● [ShippingMethodsPerCountry!]
Shipping methods that are available for the channel.
countries ● [CountryCode!]
stockSettings ● StockSettings!
Define the stock setting for this channel.
orderSettings ● OrderSettings!
Channel-specific order settings.
checkoutSettings ● CheckoutSettings!
Channel-specific checkout settings.
paymentSettings ● PaymentSettings!
Channel-specific payment settings.
taxConfiguration ● TaxConfiguration!
Channel specific tax configuration.
Added in Saleor 3.20Interfaces
Node
An object with an ID
ObjectWithMetadata
Returned By
channel query ● channels query
Member Of
AccountChangeEmailRequested object ● AccountConfirmationRequested object ● AccountConfirmed object ● AccountDeleted object ● AccountDeleteRequested object ● AccountEmailChanged object ● AccountSetPasswordRequested object ● ChannelActivate object ● ChannelCreate object ● ChannelCreated object ● ChannelDeactivate object ● ChannelDelete object ● ChannelDeleted object ● ChannelMetadataUpdated object ● ChannelReorderWarehouses object ● ChannelStatusChanged object ● ChannelUpdate object ● ChannelUpdated object ● Checkout object ● CollectionChannelListing object ● Group object ● ListStoredPaymentMethods object ● Order object ● PaymentGatewayInitializeTokenizationSession object ● PaymentMethodInitializeTokenizationSession object ● PaymentMethodProcessTokenizationSession object ● PluginConfiguration object ● ProductChannelListing object ● ProductVariantChannelListing object ● PromotionRule object ● SaleChannelListing object ● ShippingMethodChannelListing object ● ShippingZone object ● StaffSetPasswordRequested object ● StoredPaymentMethodDeleteRequested object ● TaxableObject object ● TaxConfiguration object ● User object ● VoucherChannelListing object