Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.Try now
ChargebeeAPI

Get account hierarchy for a customer

Retrieves the full or partial account hierarchy for a customer.

Sample Request

Sample Result[JSON]

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"} .

Enum Values
complete_hierarchy
subordinates
path_to_root

Returns

always returned
Resource object representing hierarchie