Parameters
1 query
Query parameters
· 1codestringRequiredProduct code.
Example
my-productReturns 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.
1 query
codestringRequiredProduct code.
my-product1 status code documented
mainCategoryCodestringOptionalCode of the main category, if set.
subCategoriesobject[]RequiredAll categories the product belongs to.
codestringRequiredCategory code.
namestringRequiredCategory display name.
{
"mainCategoryCode": "example_mainCategoryCode",
"subCategories": [
{
"code": "example_code",
"name": "example_name"
}
]
}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"All BizKitHub public API endpoints require authentication via API key.