Skip to main content

categoryChildren

Retrieve the direct child categories of a category.

Only the immediate descendants are returned; use categories field resolver or the search query for recursive enumeration.

Possible errors:

  • CATEGORY_NOT_FOUND: The supplied identifier did not match any category.
  • CATEGORY_FIND_ERROR: The child categories could not be retrieved.

AUTH: Role=[product.OWNER,product.EDITOR,product.VIEWER]

categoryChildren(
categoryId: Int!
): [Category!]!

Arguments​

categoryChildren.categoryId ● Int! non-null scalar​

Numeric identifier of the parent category whose direct children are requested.

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.