BizKitHub
DokumentationAPI-ExplorerProduct Category/api/v1/product-category/list
getProduct CategoryÖffentliche 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

Parameter

2 in der Query

Query-Parameter

· 2
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
parentSlugstringOptional

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

Beispielexample_parentSlug

Antwortschema

1 dokumentierter Statuscode

200ErfolgPaginated list of product categories.
countnumberPflicht

Total number of categories matching the filter.

itemsobject[]Pflicht

Array of category items.

Jedes Array-Element:
idstringPflicht

Category code.

namestringPflicht

Display name.

slugstringPflicht

URL-friendly slug.

Antwortbeispiel

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

Anfragebeispiel

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"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten