How versioning works
The version is part of every address: /v1/.... Within a version we only make changes that can't break software that already works:
- We may add new addresses, new optional filters and new fields in responses.
- We won't remove or rename a field, change what a field means, or make a filter stricter.
So write your code to ignore fields it doesn't know about. If we ever need a breaking change, it will arrive as a new version (/v2), and we will give notice before /v1 ends.
Changelog
Version 1
Read
- Business:
GET /v1/business - Services:
GET /v1/services,GET /v1/services/{id} - Staff:
GET /v1/staff,GET /v1/staff/{id} - Locations:
GET /v1/locations,GET /v1/locations/{id} - Customers:
GET /v1/customers,GET /v1/customers/{id} - Bookings:
GET /v1/bookings,GET /v1/bookings/{id},GET /v1/cancellation-reasons - Availability:
GET /v1/availability - Courts and facilities:
GET /v1/facilities,GET /v1/facilities/{id},GET /v1/facility-availability - Court and facility bookings:
GET /v1/facility-bookings,GET /v1/facility-bookings/{reference}
Change
- Customers:
POST /v1/customers,PATCH /v1/customers/{id} - Bookings:
POST /v1/bookings,PATCH /v1/bookings/{id},POST /v1/bookings/{id}/cancel - Court and facility bookings:
POST /v1/facility-bookings,POST /v1/facility-bookings/{reference}/cancel
Webhooks
- Events:
booking.created,booking.updated,booking.cancelled,customer.created,facility_booking.created,facility_booking.updated,facility_booking.cancelled - Signed with HMAC-SHA256, retried for about two days, set up in the Bookingly app. See Webhooks.
Authentication with API keys and per-key permissions, cursor pagination, standard error responses, safe retries with Idempotency-Key, and a limit of 120 requests a minute for each key.