The Vehicle.webhooks
object contains Webhooks that are called when events occur in the system.
vehicle-booking-create
Webhook for when a booking has been created for the Vehicle.
The body of the request looks like this:
{
"event": "vehicle-booking-create",
"data": {
"vehicle_id": "vehicle_id",
"booking_id": "booking_id"
}
}
vehicle_id
- (string) The ID of the Vehiclebooking_id
- (string) The ID of the new Booking