DocsAPI ReferenceProduct Category/bff/product-category/list-with-counts
getProduct CategoryAdmin BFF

/bff/product-category/list-with-counts

Returns categories that have at least one non-deleted product assigned as their main category, sorted by product count DESC (then name ASC). Also returns the count of products with no main category and the grand total. Intended for the product-list filter dropdown.

Product CategorygetBffProduct-categoryList-with-counts

No parameters

This endpoint takes no path, query, header or body parameters.

Request

GET /bff/product-category/list-with-counts

get
curl -X GET "https://api.bizkithub.com/bff/product-category/list-with-counts" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "items": [
    {
      "code": "example_code",
      "name": "example_name",
      "productCount": 0
    }
  ],
  "noCategoryCount": 0,
  "totalCount": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key