DocsAPI ReferenceProduct Category/api/v1/product-category/list
getProduct CategoryPublic API v1

/api/v1/product-category/list

Returns a list of product categories for the organisation. Optionally filter by parent category slug to get only direct children.

productCategorygetApiV1Product-categoryList

Parameters

2 query

2 total
Query · 2
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

parentSlugstring

Slug of the parent category to filter children. Omit for root categories.

Request

GET /api/v1/product-category/list

get
curl -X GET "https://api.bizkithub.com/api/v1/product-category/list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&parentSlug=example_parentSlug" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Paginated list of product categories.

{
  "count": 0,
  "items": [
    {
      "id": "example_id",
      "name": "example_name",
      "slug": "example_slug"
    }
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key