category
Look up a category by ID or slug.
category(
id: ID
slug: String
): Category
Arguments
category.id ● ID scalar
ID of the category.
category.slug ● String scalar
Slug of the category
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?