Web Hooks
Booking Edited
1 min
the booking edited web hook fires whenever the booking has any detail changed (such as contact name, booking time, or booking date) this is the primary way of keeping the booking details in sync it uses the same format as booking created to make it easier to reuse code the main difference is the event will be edited, and the source of the edit is provided { "event" "edited", "source" "admin", "session" { "id" 266, "session name" "upstairs area", "session description" "lots of natural light and easily accessible more often families decide to sit upstairs", "yieldzones" "388", "session type" "repeating", "slug" "upstairs" }, "crm" { "id" 141393, "name" "dan 3x", "email" "da", "phone" null, "bookings" 1, "internalid" null }, "bookingid" 403046, "venue" 1, "bookingdetails" { "name" "daniel test", "pax" 2, "booking date" "2022 06 28", "booking time" "17 00", "booking length" 45, "session id" "266", "previous visits" 0, "session name" "upstairs area", "email" "da", "phone" "020813355555", "comments" "i like ham", "allergy" \[], "position" \[ 4432 ] } }