List customer units
Lists the customer’s units, newest first, the root included. Archived units are left out unless includeArchived is true. parent limits the list to that unit’s direct children and kind to one level label. {customer} takes the customer’s cus_ ID, your externalId, or one of its aliases. {unit} takes the unit’s cu_ ID or your unit externalId, resolved within that customer; a value starting cu_ is tried as a Paid ID first.
Authentication
Path parameters
The customer’s cus_ ID, your externalId, or one of its aliases.
Headers
This endpoint is in the customer_units=v1 beta. Send this header to use it.
Query parameters
The nextCursor of the previous page. Omit it for the first page.
Pass true to include archived objects.
Only units with this kind, matched exactly.
Only the direct children of this unit of the customer: its cu_ ID or your externalId.
Response
The type of object. Always list.
Send it as cursor to get the next page. Null on the last page.