Endpoints
Booking Hooks
Booking Hooks (14-Day Reservation Holds)
Booking hooks allow agencies to secure a tee time without immediate payment. The hold lasts up to 14 days and must be confirmed before the tee time date.
Create a Booking Hook
Code
Creates a 14-day reservation hold on a tee time.
Request Body
Code
Response (201 Created)
Code
Not all providers support booking hooks. If the course's provider does not support holds, you will receive a 409 PROVIDER_NOT_SUPPORTED error.
Confirm a Booking Hook
Code
Converts a reservation hold into a confirmed booking.
| Parameter | Type | Description |
|---|---|---|
id | string | Booking hook ID |
Response
Returns a confirmed booking object (same structure as POST /bookings response).
Cancel a Booking Hook
Code
Releases the reservation hold. The tee time becomes available again.
| Parameter | Type | Description |
|---|---|---|
id | string | Booking hook ID |
Booking hooks expire automatically after 14 days or when the tee time date passes. Expired hooks cannot be confirmed.
Last modified on