category
Retrieve detailed information about a specific product category.
Returns comprehensive category data including hierarchy information, localized content, and product associations. Supports multiple lookup methods including ID, category ID, and URL slug for flexible access patterns.
Possible errors:
- CATEGORY_NOT_FOUND_ERROR: Category with the specified criteria does not exist
- CATEGORY_FETCH_ERROR: Failed to retrieve category information
- MISSING_ARGUMENT_ERROR: No valid identifier provided (id, categoryId, or slug required)
category(
id: Float
categoryId: Float
slug: String
userId: Int
hidden: YesNo
): Category!
Arguments
category.id
● Float
scalar
Legacy category identifier (deprecated).
Use categoryId instead. This field will be removed in future versions.
category.categoryId
● Float
scalar
Unique category identifier for direct lookup.
Primary identifier for the category, used for direct category access and management operations.
category.slug
● String
scalar
URL-friendly category identifier for SEO-optimized access.
Human-readable URL segment used for category pages and SEO-friendly navigation. Unique within the category hierarchy.
category.userId
● Int
scalar
User context for personalized category view.
When provided, returns category information customized for the specific user, including personalized visibility and content.
category.hidden
● YesNo
enum
Include hidden categories in results.
Controls whether hidden categories should be included in the response. Useful for administrative interfaces.
Type
Category
object
Category entity representing product classification and organization.
External entity from the catalog service that provides category identification and hierarchy information. Used as a reference for category-specific attributes and organizational relationships within the attribute system.