Skip to content
YasadDocs
Sign inGet started
Developer docs1 min read

Records, bookings and orders

Customers, resources, availability, holds and orders.

On this page

#Native records

RecordEndpoints
CustomersGET/POST /v1/customers
Resources (anything with capacity and an optional price)GET/POST /v1/resources, PATCH /v1/resources/{id}
ReservationsGET /v1/reservations, POST /v1/reservations/hold, /{id}/confirm, /{id}/cancel
OrdersGET/POST /v1/orders, GET/PATCH /v1/orders/{id}
PaymentsGET/POST /v1/payments

#Availability

POST /v1/availability checks an exact future interval in UTC (ISO timestamps with milliseconds) for a list of resource/quantity allocations. It doesn't reserve anything.

#Orders are atomic

POST /v1/orders records the customer, snapshots prices, reserves capacity and creates the order in one step. Include the displayed total in cents; the server checks price and capacity together and refuses a booking that would exceed capacity. When the workspace has a connected merchant, new paid orders wait for payment before they're confirmed.

Advance an order with PATCH /v1/orders/{id}: placed → ready → fulfilled, or cancel an open order.

#Reading many records

POST /v1/records/page reads native records by keyset cursor, or resolves up to 100 IDs at once. GET /v1/export returns a full workspace snapshot.

Type to search