Queries

categories

Get all categories.

Get all categories.

categories(
  includeHidden: Boolean
  parentCategoryId: Int
  channelId: String
  languageId: String
  marketId: String
): [CategoryType]

Arguments

includeHidden ● Boolean scalar

Decides if hidden categories should be returned

parentCategoryId ● Int scalar

When set only categories with a matching parentId will be returned. Specify '0' to only select the root level.

channelId ● String scalar

The channel ID. Will default to an existing value if it is not found.

languageId ● String scalar

The language ID. Will default to an existing value if it is not found.

marketId ● String scalar

The market ID. Will default to an existing value if it is not found.

Type

CategoryType object

Type containing category information