Skip to main content

List channels

Retrieve all channels configured in the platform. Each channel represents a separate storefront or sales context with its own catalog root and anonymous user.

Query

query GetChannels {
channels {
channelId
name
catalogRootId
anonymousUserId
}
}

Response

{
"data": {
"channels": [
{
"channelId": 71,
"name": "BUREAUSTOELENKOPEN.nl",
"catalogRootId": 2050,
"anonymousUserId": 14551
},
{
"channelId": 1,
"name": "B2B Webshop",
"catalogRootId": 100092,
"anonymousUserId": 14551
}
]
}
}

How it works

The channels query returns all channels without pagination. Each channel has a catalogRootId that determines which part of the category tree is visible to users browsing that channel. The anonymousUserId sets the default user context for unauthenticated visitors, controlling which prices and product visibility rules apply.

See also