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