/bff/product/product-detail-category
Returns the main category and all sub-categories associated with a product. Includes both the directly assigned main category and categories linked via the relation table.
ProductgetBffProductProduct-detail-category
Parameters
1 query
Query · 1
codestringRequiredProduct code.
Request
GET /bff/product/product-detail-category
curl -X GET "https://api.bizkithub.com/bff/product/product-detail-category?code=my-product" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"mainCategoryCode": "example_mainCategoryCode",
"subCategories": [
{
"code": "example_code",
"name": "example_name"
}
]
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.