CustomerUnit

A team, workspace or tenant in a customer's tree of units.

  • The unit's own billable setting.

  • When the unit was created.

  • Your ID for the customer.

  • The customer the unit belongs to (cus_…).

  • Whether usage from this unit is billed: true only when this unit and every unit above it are billable.

  • The unit's key.

  • Your own kind for the unit.

  • Whether this is the top of the customer's tree.

  • Your own key-value data, or null.

    Properties: 1
  • Display name.

  • Key of the parent unit, or null for the root.

  • ACTIVE, or DELETED once deleted.

  • When the unit was last changed.

  • Spondo Billing ID of the unit (cu_…). Returned by the routes under /customers; the routes under /customer-units address units by key and leave it out.