You are viewing the documentation for Chargebee API V2. If you're using the older version (V1), click here.

Represents the hierarchical relationship between a customer (given by customer_id) and other customers who are its parent and child/children.

Sample hierarchy [ JSON ]

[{ "children_ids": [ "b_001", {..} ], "customer_id": "a_001", "invoice_owner_id": "c_001", "payment_owner_id": "a_001" }]
customer_id
string, max chars=50
The id of the customer.
parent_id
optional, string, max chars=50
The id of the customer who is the immediate parent.
payment_owner_id
string, max chars=50
The id of the customer who pays the invoices for this customer. Can be the customer itself or the invoice_owner_id.
invoice_owner_id
string, max chars=50
The id of the customer who is invoiced for charges incurred. Can be the customer itself or any parent in its hierarchy.
children_ids
optional, list of string
The list of immediate children of the customer.