CustomView

  • Whether the view shows the caps set on the customer's units.

  • The view's ID.

  • Whether viewers can narrow the view to one of the customer's units.

  • Your own preview of the view's hosted page, as the view stands, drafts and organization-scoped views included. The link carries no token: it's on the Spondo Billing dashboard's own API (not /api/v1), so it opens for a member of your company signed in to the dashboard, whichever company they're working in, and answers 401 UNAUTHORIZED to anyone else. It names your account (<account>_<displayId>), like the view's public page. For a customer-scoped view, add ?customerId= with a customer's Spondo Billing ID or your ID for them to see it as that customer; without it, the page shows the customer with the latest signal (404 when no customer has any). The view's public page (https://billing.getspondo.com/public/views/…) opens only with an embed token: to show a view to a customer, use Get an embed token, which returns a link for that customer as url.

  • customer: shown to one customer at a time, with every query narrowed to that customer's records; can be embedded. organization: shows data across all your customers, for your own team; can't be embedded.

    values
    customerorganization
  • DRAFT: being built; its data is served only with includeDraft=true and it can't be embedded. PUBLISHED: live for your customers.

    values
    DRAFTPUBLISHED