Skip to main content
POST
Create a booking

Authorizations

Authorization
string
header
required

Customer API key obtained from the admin portal (e.g. 1club_sk_live_...)

Body

application/json
areaId
integer
required

Area id (from GET /v1/platform/areas)

startTime
string<date-time>
required
endTime
string<date-time>
required
customer
object
required
payment
object
required
channel
string

Optional channel label, stored for attribution

notes
string

Response

Booking created

A booking created through the platform API. Recorded with a booking transaction so it counts for revenue, marked paid (settled against the External / API payment method) or unpaid (outstanding) per the caller. Refunds and collection stay with the caller.

bookingId
integer

1Club booking id

status
string

Booking status (e.g. confirmed, cancelled)

areaId
integer | null

Area id

startTime
string<date-time>
endTime
string<date-time>
payment
object