Seats
A seat gives one person a seat on an order: a named assignment of a seat price to a customer unit, usually one with kind: "user". You can bill the seats your customer bought, or only the seats in use, and a seat can carry its own credits, so each person has an allowance before they draw on the company’s shared balance. Because the seat holder is a customer unit, the same identity carries their seat, their usage and their credits.
Use a seat to:
- Sell a fixed number of licences with a seat price that bills the seats purchased on the order.
- Bill only the seats in use with a seat price that bills every active seat, so new hires need no order change.
- Give each person an allowance of credits with a seat price that grants credits to each seat.
Seats are in the seats=v1 private beta: send Paid-Beta: seats=v1 with each request.
How seats work
- A seat price is a recurring price with
seats. Itsseats.quantitydecides what’s billed: the seatspurchasedon the order, or the seatsassigned. - An order line puts the seat price on the customer. Its
quantityis the number of seats bought, or, for assigned seats, the minimum billed. - A seat assigns that line to one person. You reassign it when someone leaves and deactivate it when the seat is no longer needed. Seats are never deleted, because invoices and credit transactions refer to them.
Sell seats
Adatum sells its video analysis product to Brightrail at $30.00 a month for each analyst seat in use, with at least 20 billed, and gives each seat 1,000 analysis credits a month. Price amounts are decimal strings in minor units, so "3000" is $30.00:
Brightrail’s order puts it on a line with "quantity": 20, the minimum billed. A seat price that bills purchased seats instead uses the line’s quantity as the number bought.
Assign a seat
Brightrail’s order is active, and Maya Chen joins the analytics team. Assign her a seat:
API
Dashboard
Create a seat on the order for the person’s customer unit. Send price as well when the order has more than one seat line.
customerUnit takes the unit’s cu_ ID, your own ID for the unit, or a unit alias such as the person’s email. Store the cu_ ID where you can.
Assignment rules
- One seat per person per product. A unit can hold only one active seat for a product.
- The person must be billable. The unit must belong to the order’s customer, be active, and be billable.
- Purchased seats are capped. Assigning more seats than the line’s
quantityfails. To buy more, amend the order withupdateQuantity. Lowering the quantity below the active seats fails until you deactivate some. Purchased seats can be assigned on a draft order, up to its quantity. - Assigned seats need an active order. Each one is billable, so they can’t be created on a draft. If the line has no
quantity,quantityLimits.minimumis the minimum billed. - Seats end with their line. Ending the order or the seat line deactivates its seats, and a unit that holds an active seat can’t be archived.
How it bills
Purchased. Halberd LLP buys 25 reviewer seats from Clausebase at $40.00 a month. Each month’s invoice charges 25 × $40.00 = $1,000.00 in advance, whether 12 or 25 seats are assigned.
Assigned. At the start of each period, Paid bills the active seats, or the minimum if that’s higher. That count is the period’s paid-for count. When active seats rise above it, each extra seat is charged by day from the day it’s assigned, counting that day, on the next invoice, and the paid-for count goes up. Deactivating a seat credits nothing, but frees a paid-for slot that a new seat can take this period at no extra charge.
Brightrail has 42 active analyst seats on 1 November. November has 30 days:
December’s invoice charges the $75.00 for November and December’s seats in advance at the active count on 1 December.
Credits per seat
A grants entry with recipient: "seat" on the seat price gives each active seat its own credits every interval, in its own balance. A seat assigned mid-interval gets a share prorated by day, and purchased seats that aren’t assigned get nothing. A price can also have an entry with recipient: "customer", for a shared team balance alongside the per-seat ones.
Events that name the seat holder in customerUnit, or a unit under them, spend the seat’s credits first, then the customer’s shared balance, then overage. In Brightrail’s November:
Maya uses 1,180 analysis credits in November: 1,000 from her seat, then 180 from Brightrail’s shared balance.
Retrieve a seat to see what’s left in credits, or list credit balances with holder=seat for the full balance.
Reassign or free a seat
Update a seat with a new customerUnit to hand it to someone else, such as a leaver’s replacement. It keeps its billing and its credits.
Deactivate a seat to free it. It stays readable with status: "inactive", nothing is credited for the rest of the period, and any credits left on it are forfeited. An inactive seat can’t be updated or reactivated: assign a new seat instead. List seats returns only active seats unless you filter by status=inactive.