Cancel a booking
POST
/api/v1/bookings/{booking_id}/cancel
const url = 'https://renotify.app/api/v1/bookings/architecto/cancel';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"Customer called to cancel","notify_customer":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://renotify.app/api/v1/bookings/architecto/cancel \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "Customer called to cancel", "notify_customer": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”booking_id
required
string
The ID of the booking.
Example
architectoRequest Body
Section titled “Request Body”Media typeapplication/json
object
reason
Why, up to 120 characters.
string
Example
Customer called to cancelnotify_customer
Whether automations may tell the customer. Defaults to true.
boolean
Example
true