curl --request GET \
--url http://localhost:3000/v1/scraped-products/categories{
"categories": [
{
"name": "<string>",
"product_count": 123,
"active_count": 123,
"inactive_count": 123,
"subcategories": [
{
"name": "<string>",
"product_count": 123,
"active_count": 123,
"inactive_count": 123
}
]
}
]
}Get category hierarchy with product counts from sellable products
curl --request GET \
--url http://localhost:3000/v1/scraped-products/categories{
"categories": [
{
"name": "<string>",
"product_count": 123,
"active_count": 123,
"inactive_count": 123,
"subcategories": [
{
"name": "<string>",
"product_count": 123,
"active_count": 123,
"inactive_count": 123
}
]
}
]
}Category hierarchy
Categories response
Show child attributes