The Booking.webhooks
object contains Webhooks that are called when events occur in the system.
booking-status-changed
Webhook for when a booking’s status has been changed.
The body of the request looks like this:
{
"event": "booking-status-changed",
"data": {
"booking_id": "booking_id",
"status": "accepted|declined"
}
}
event
- (string) The event keybooking_id
- (string) The ID of the Bookingstatus
- (string) The new Booking status value