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
The id of the customer.
string, max chars=50
parent_id
The id of the customer who is the immediate parent.
optional, string, max chars=50
payment_owner_id
The id of the customer who pays the invoices for this customer. Can be the customer itself or the invoice_owner_id.
string, max chars=50
invoice_owner_id
The id of the customer who is invoiced for charges incurred. Can be the customer itself or any parent in its hierarchy.
string, max chars=50
children_ids
The list of immediate children of the customer.
optional, list of string