Skip to main content

category

Look up a category by ID or slug.

category(
id: ID
slug: String
): Category

Arguments

category.id ● ID scalar miscellaneous

ID of the category.

category.slug ● String scalar miscellaneous

Slug of the category

Type

Category object products

Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront.