BizKitHub
DokumentationAPI-ExplorerCustomer/api/v1/customer/org-tree
getCustomerÖffentliche API v1

/api/v1/customer/org-tree

Returns the focused customer together with ancestors (root-first) and the full subtree rooted at the focused customer. Depth capped at 32 levels in each direction.

customergetApiV1CustomerOrg-tree

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
cuRefNostringPflicht

cuRefNo = customer reference number.

Länge: 16
Beispiel1cGIHvFoQDGLAbcA

Antwortschema

1 dokumentierter Statuscode

200Erfolg

Diese Antwort hat keinen JSON-Body.

Antwortbeispiel

application/json
{
  "success": true
}

Anfragebeispiel

GET /api/v1/customer/org-tree

get
curl -X GET "https://api.bizkithub.com/api/v1/customer/org-tree?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&cuRefNo=1cGIHvFoQDGLAbcA" \
  -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