Search (sub)Categories by Text

v2

EndpointId: API-GCA-007

Searches the category group tree by a free-text description and returns matching categories with their hierarchy, including `categoryId`, `categoryName`, `level`, and nested `children` nodes (subcategories and, where applicable, leaf `productId` entries).

Method: get

Parameters Specification

Parameter Field Type Constraints Description / Default Value Param Location
typeId int Required

Example Value: 1
path
langId int Required

Example Value: 4
path
searchText string Required

Example Value: VALVE
path

Use this endpoint

GET https://auto-parts-catalog.apiprofile.com/api/category/search-for-the-commodity-group-tree-by-description/type-id/1/lang-id/4/search-text/VALVE
curl -X GET 'https://auto-parts-catalog.apiprofile.com/api/category/search-for-the-commodity-group-tree-by-description/type-id/1/lang-id/4/search-text/VALVE' \
  -H 'Accept: application/json' \
  -H 'x-apiprofile-key: YOUR_API_KEY'