Catalog API
Get Category
Get a single category from the catalog.
GET
/
public
/
v1
/
catalog-search-service
/
catalogs
/
categories
/
{category-id}
Path Parameters
category-id
string
requiredID 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
requiredUnique 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
requiredCategory 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