ChargebeeAPI

Get account hierarchy for a customer

Try in API Explorer

Retrieves the full or partial account hierarchy for a customer.

Sample Request

URL Format

GET https://[site].chargebee.com/api/v2/customers/{customer-id}/hierarchy

Input Parameters

hierarchy_operation_type
required, enumerated string

Specifies which part of the account hierarchy to retrieve for the customer identified by {"customer_id"} .

Possible Enum Values
complete_hierarchy
subordinates
path_to_root

Returns

hierarchiesalways returned

Resource object representing hierarchy