cURL
Hierarchy
Get customer hierarchy
Returns the full hierarchy tree for the specified customer, starting from the root of the hierarchy. The tree is built recursively with each node containing its children. The isCurrentCustomer flag marks which node in the tree is the customer from the request.
This endpoint requires the customer.hierarchy feature to be enabled.
customer:readGET
cURL
Returns the full hierarchy tree for any customer in the organization structure. Regardless of whether a parent or child customer ID is provided, the response always starts from the root of the hierarchy and includes all descendants as a nested tree.
The
isCurrentCustomer flag on each node indicates which customer in the tree corresponds to the ID specified in the request path.
Example Response
Feature Flag
This endpoint requires thecustomer.hierarchy feature to be enabled. If the feature is not active, a 501 Not Implemented response is returned.Autorisierungen
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Pfadparameter
The ID of any customer in the hierarchy (the response always starts from the root)
Antwort
The full hierarchy tree starting from the root
The root customer of the hierarchy tree