catalog_categories
InactiveTool of ComOS Federation Gateway
List all product categories with hierarchy information and product counts (Federated: requires tenant_id. For cart/orders, pass auth_token from POST /v1/auth/login. Product IDs are MongoDB ObjectIds from catalog_search.)
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tenant_id"
],
"properties": {
"parentId": {
"type": "string",
"description": "Filter by parent category ID. Use 'null' for top-level only. Omit for all."
},
"tenant_id": {
"type": "string",
"description": "Target tenant ID (required). Use federation_list_tenants() to see available tenants."
},
"auth_token": {
"type": "string",
"description": "JWT auth token for authenticated operations (cart, orders). Get from api_call POST /v1/auth/login."
},
"showHierarchy": {
"type": "boolean",
"description": "Show hierarchical structure with indentation"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
ComOS Federation Gateway
https://github.com/ronrey/comos-federation
2/7 registries