Bookings

Cancel a booking

Changed on

Cancels a booking, frees the slot, removes the calendar event, and notifies the attendee. A paid booking is not refunded; refund its order separately with POST /refunds.

post/bookings/{id}/cancel

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
reason, string nullable

Response

The cancelled booking

Booking required
object, string required
id, string required
event_type_id, string required
contact_id, string nullable required
order_id, string nullable required
status, 'pending' | 'confirmed' | 'cancelled' | 'completed' | 'no_show' required
livemode, boolean required
time_zone, string required
attendee_name, string nullable required
attendee_email, string nullable required
attendee_phone, string nullable required
location_details, string nullable required
meet_url, string nullable required
cancel_reason, string nullable required
created_at, string date-time required
updated_at, string date-time required
intake_answers, object[] required
start_time, string date-time required
end_time, string date-time required
cancelled_at, string date-time nullable required
event_type, union

ID by default, full object when expanded

checkout, union

ID by default, full object when expanded

Changes

    • info

      added the required property event_type/oneOf[#/components/schemas/EventType]/price_variants/items/cross_sells to the response with the status

    • info

      added the required property checkout/oneOf[#/components/schemas/Checkout]/success_url to the response with the status