Skip to main content

category

Look up a category by ID or slug

category(
id: ID
slug: String
): Category

Arguments​

category.id ● ID scalar​

category.slug ● String scalar​

Type​

Category object​

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

Was this page helpful?