DocsAPI ReferenceProduct/bff/product/product-detail-category
getProductAdmin BFF

/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

1 total
Query · 1
codestringRequired

Product code.

Request

GET /bff/product/product-detail-category

get
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.

Get API Key