Channel
Represents a sales or distribution channel within a tenant. Channels define distinct pathways for product sales and customer interaction.
type Channel {
id: Int!
channelId: Int! @deprecated
name: String!
descriptions: [LocalizedString!]
catalogRootId: Int
anonymousUserId: Int
defaultLetterId: Int @deprecated
createdAt: DateTime!
lastModifiedAt: DateTime!
tenant: Tenant!
markets: [Market!]!
defaultMarket: Market!
shop: Shop @deprecated
}
Fields
Channel.id ● Int! non-null scalar
Unique identifier for the channel. Used for all channel-related operations and references.
Channel.name ● String! non-null scalar
Display name of the channel. Used in user interfaces and for channel identification.
Channel.descriptions ● [LocalizedString!] list object
Localized descriptions of the channel in different languages. Provides multilingual support for channel information display.
Channel.catalogRootId ● Int scalar
Reference to the root catalog item for this channel. Defines the top-level product hierarchy available through this channel.
Channel.anonymousUserId ● Int scalar
Reference to the anonymous user account for this channel. Used for handling unauthenticated user sessions and default permissions.
Channel.createdAt ● DateTime! non-null scalar
Timestamp when the channel was created. Used for auditing and chronological ordering.
Channel.lastModifiedAt ● DateTime! non-null scalar
Timestamp when the channel was last modified. Updated automatically on any channel changes.
Channel.tenant ● Tenant! non-null object
Resolves the tenant that owns this channel. Provides access to tenant information and settings for the channel.
Errors: TENANT_GET_ERROR, TENANT_NOT_FOUND_ERROR if tenant doesn't exist.
AUTH: Role=[configuration.OWNER,configuration.EDITOR,configuration.VIEWER]
Channel.markets ● [Market!]! non-null object
BETA: markets can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.
The markets this channel sells in, oldest first. A channel always has at least one market; one of them is its default market.
Channel.defaultMarket ● Market! non-null object
BETA: markets can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.
The channel's default market: the market the front-end shows first. Always one of the channel's markets.
Errors: MARKET_NOT_FOUND_ERROR if the channel has no default market. Every channel gets one when it is created, so this only happens when its data is broken.
Show deprecated
Returned By
channel query ● channelCreate mutation ● channels query ● channelUpdate mutation