GET
/
public
/
v1
/
catalog-search-service
/
catalogs
/
categories
/
{category-id}

Path Parameters

category-id
string
required

ID of the category.

Minimum length: 1

Response

200 - application/json

Categories provide a way to organize your catalog.

Products always belong to at least one category, but can belong to more. Categories can be organized into hierarchies.

id
string
required

Unique ID of the category. Topsort treats IDs as strings, choose any format as long as it is unique within the catalog.

Minimum length: 1
name
string
required

Category name. Shown in Topsort UI.

Minimum length: 1
parentId
string

ID of the parent category. Each category can have at most one parent category, allowing categories to be organized into hierarchies.

Minimum length: 1