The object model
Twelve objects carry every transaction on Switchboard. A seller publishes five of them; a buyer sends one; the rest flow back. If you map your systems to these shapes, the whole API follows.
How to read it
- The seller publishes. A
packageis the sellable unit. Its weekly prices arerate entries; its availability statements areavails; packages that share capacity declare apool. Thecapability_profiletells the platform how your systems connect, and the platform never calls what the profile does not advertise. - The trade. A
slotis a package on a date, and its ID is derived:{package_id}:{date}. Anordercarries line items; each line books one week or one slot and locks its price by citing a rate entry'slocked_rate_id. Anagreementgates what a buyer sees and unlocks buyer-scoped rate cards. - Flows back. Every change emits an
order_eventwith a per-order sequence number. Counters live on anegotiation. After air, the seller'sdelivery_postcarries the actuals that guarantees reconcile against.
The grain rule in one sentence: cards price by week; trades book by slot. It shows up everywhere, from rate entries to allocations.
Every object
| Object | What it is | Field reference | Concept |
|---|---|---|---|
package | The sellable unit: seller-defined, versioned, date-bounded | package | Packages |
pool | Shared capacity that overlapping packages draw down | pool | Packages |
slot | A package on a date: the orderable instance | slot | Packages |
rate entry | One priced cell of a versioned rate card commit | rate entry | Rates |
avail | An availability statement at the seller's declared grain | avail | Currencies |
order | The transaction; price locked at order time | order | Orders |
order_event | Append-only record of every transition | order_event | Webhooks |
negotiation | Offer and counter rounds on one order | negotiation | Negotiation |
proposal_request | The buyer's open ask; a plan comes back | proposal_request | Proposals |
delivery_post | Seller-supplied actuals; guarantees reconcile against it | delivery_post | Reconciliation |
capability_profile | What a seller's connection advertises | capability_profile | Connections |
agreement | The relationship made explicit; functionally a deal ID | agreement | Agreements |
Sellers: your side of the model is the top of the left lane. Start with Map your systems to see where your traffic, billing, and rate systems land. Buyers: your side starts at order; see Map your systems for buyers.