BizKitHub
DokumentationAPI-ExplorerProduct Category/api/v1/product-category/detail
getProduct CategoryÖffentliche API v1

/api/v1/product-category/detail

Returns detail of a single product category identified by its URL slug. Returns error PUBLIC_CATEGORY_DOES_NOT_EXIST if the category is deleted, internal, or not found.

productCategorygetApiV1Product-categoryDetail

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
slugstringPflicht

URL slug of the product category.

Beispielelectronics

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1

Category detail.

idstringPflicht

Category code (unique identifier).

Beispielcat_electronics
namestringPflicht

Display name of the category.

BeispielElectronics
slugstringPflicht

URL-friendly slug.

Beispielelectronics
descriptionstringOptional

HTML description formatted for frontend display.

b2bbooleanPflicht

Whether the category is B2B-only.

Variante 2

Error response when category does not exist.

statestringPflicht
codenumberPflicht
messagestringPflicht

Antwortbeispiel

application/json
{
  "id": "cat_electronics",
  "name": "Electronics",
  "slug": "electronics",
  "description": "example_description",
  "b2b": false
}

Anfragebeispiel

GET /api/v1/product-category/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/product-category/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&slug=electronics" \
  -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