# Get a customer’s hierarchy

Returns the family of customers one customer belongs to, such as a holding company and its subsidiaries. Each customer in it comes with its parentId, which is null for the one at the top, so parents, children and siblings can be worked out. Status, segment, region and ARR are given only for the customers the member can access; the others are listed by name, with accessible set to false, so the shape of the family stays whole. ARR is what a customer pays now, so a churned customer usually has an ARR of 0; null means the ARR is not known. A customer with no parent and no children is returned on its own.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "customer": {
      "type": "string",
      "minLength": 1,
      "description": "The name of the customer, its ID, or its ID in a CRM or another source written as source:ID, such as salesforce:0010x000000aAAA. Use an ID when you have one; a name must match one customer"
    }
  },
  "required": [
    "customer"
  ],
  "additionalProperties": false
}
```

