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:readisCurrentCustomer flag on each node indicates which customer in the tree corresponds to the ID specified in the request path.
customer.hierarchy feature to be enabled. If the feature is not active, a 501 Not Implemented response is returned.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of any customer in the hierarchy (the response always starts from the root)
The full hierarchy tree starting from the root
The root customer of the hierarchy tree