Cancel Booking
To cancel a tee time reservation, send a request to below url.
DELETE /api/v3/bookings/{bookingId}
- Path Parameters
- bookingId:
e.g. ZGeg123
(String, Required) - Cancel the booking with this ID. Bookings can only be canceled by the user who created it.
- bookingId:
This can be done with a curl command like so :
curl -X DELETE -H 'Content-Type:application/json' --user [[username]]:[[password]] '[[base-url]]/api/v3/bookings/ZGeg123'
- Successful Response (application/json)
{
"success": true,
"data": {
"status": "ok"
}
}
Note: If a cancellation request is made in violation of the cancellation policy, the request will be denied. Please see this document for more information.
2.539