BizKitHub
DokumentacjaEksplorator APICustomer/api/v1/customer/org-tree
getCustomerPubliczne 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

Parametry

2 w query

Parametry query

· 2
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
cuRefNostringWymagane

cuRefNo = customer reference number.

Długość: 16
Przykład1cGIHvFoQDGLAbcA

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces

Ta odpowiedź nie ma treści JSON.

Przykład odpowiedzi

application/json
{
  "success": true
}

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API