Docs
Dashboard

category

Query

Returns a Category by its ID, slug, or site path.

#

Arguments


id
ID

The ID of the CategoryNode to return.

path
String

The path used by this operation.

slug
String

The slug used by this operation.

#

Payload


Category
Category

Represents a grouping of products within Thor Commerce, enabling merchants to organize and showcase items across storefronts and sales channels. Categories can be defined manually or dynamically via rules based on product attributes, tags, or metadata. Each category supports hierarchical relationships, custom fields, and localization to optimize navigation and personalize the shopping experience.