Home > @vsf-enterprise/commercetools-api > getChannel

# getChannel() function

Endpoint for fetching a list of channels. By default, it uses the getChannelDefaultQuery GraphQL query

Signature:

export declare function getChannel(context: Context, params?: GetChannelParams): Promise<GetChannelResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
params GetChannelParams Channel information

Returns:

Promise<GetChannelResponse>

Channel data