CustomerUnit
A team, workspace or tenant in a customer's tree of units.
- billableType: booleanrequired
The unit's own billable setting.
- createdType: stringFormat: date-time
At requiredWhen the unit was created.
- customerType: string | null
External Id requiredYour ID for the customer.
- customerType: string
Id requiredThe customer the unit belongs to (
cus_…). - effectiveType: boolean
Billable requiredWhether usage from this unit is billed:
trueonly when this unit and every unit above it are billable. - externalType: string
Id requiredThe unit's key.
- externalType: string | null
Type requiredYour own kind for the unit.
- isType: boolean
Root requiredWhether this is the top of the customer's tree.
- metadataType: nullablerequiredProperties: 1
Your own key-value data, or
null. - nameType: stringrequired
Display name.
- parentType: string | null
External Id requiredKey of the parent unit, or
nullfor the root. - statusType: "ACTIVE" or "DELETED"enumrequired
ACTIVE, orDELETEDonce deleted. - updatedType: stringFormat: date-time
At requiredWhen the unit was last changed.
- idType: string
Spondo Billing ID of the unit (
cu_…). Returned by the routes under/customers; the routes under/customer-unitsaddress units by key and leave it out.