Developers / POST /api/v1/bookings/{token}/cancel
API reference

POST /api/v1/bookings/{token}/cancel

Cancel a booking.

Cancels the booking with that id and returns it with status cancelled.

curl -X POST https://bookzo.xyz/api/v1/bookings/BOOKING_TOKEN/cancel \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

{"data":{"id":"BOOKING_TOKEN","status":"cancelled", ...}}

Bookzo does not send an email about the cancellation. If you use a webhook, it receives booking.cancelled.

Build on your bookings

The API and webhooks are in the Free plan.