Here is an example of the reservation JSON data sent to a user-defined endpoint as a result of the reservation.create webhook trigger.
{
"reference":"Aug0001-21",
"data":{
"reference":"Aug0001-21",
"stage":"provisional",
"status":"ok",
"draft":false,
"notes":[
],
"items":[
{
"id":1208455640,
"size":"M",
"name":"Hardtail",
"status":null,
"items":[
],
"issues":[
],
"extras":[
{
"id":4789184308644578,
"name":"Repair kit"
}
],
"item_id":515204,
"item_search_term":null,
"store_ref":null,
"category_id":"1091257946264",
"lock_code":null,
"client_id":null,
"notes":null,
"product_family_id":6606580857579248,
"product_line_id":152000,
"price":50.00,
"price_overridden":false,
"home_location":null,
"current_location":null,
"service_points":0,
"safety_checked":false,
"inventory_type":"item",
"parent_id":null,
"checkin_notes":null,
"checkin_broken":false,
"has_issues":null,
"actual_checkin_ts":null,
"actual_checkout_ts":null,
"created_ts":1628120276652,
"created_user_id":null,
"updated_ts":null,
"updated_user_id":null
},
],
"channel":"obw3",
"issues":[
],
"stripeLinked":false,
"reservation_type_id":-1,
"group_name":null,
"group":null,
"group_id":null,
"start_date":"2021-08-01",
"end_date":"2021-08-03",
"start_time":"16:00",
"end_time":"16:00",
"booking_language":"en",
"customer_id":3457,
"customer_first_name":"John",
"customer_last_name":"Doe",
"customer_phone_number":"1234567890",
"customer_stripe_id":null,
"customer_signature_ts":null,
"customer_email":"customer@domain.com",
"tax_model":"tax_exclusive",
"total_price":53.50,
"total_tax":3.50,
"total_discount":0.00,
"total_received":0.00,
"sub_total":50.00,
"balance":53.50,
"discount":0.00,
"discount_code":null,
"pricing_type":"detail_up_auto",
"item_count":1,
"has_notes":false,
"has_generic_items":false,
"has_delivery":true,
"delivery_notes":"Leave in back yard",
"delivery_time":null,
"is_stripe_linked":false,
"actual_checkin_ts":null,
"actual_checkout_ts":null,
"just_do_it":false,
"pricing_v2":true,
"tax_lines":[
],
"billable_days":2,
"overridden_billable_days":null,
"delivery_price":null,
"delivery_tax":0.00,
"pickup_price":null,
"pickup_tax":0.00,
"start_location":"",
"end_location":"",
"referrer":"",
"security_deposit_notes":null,
"security_deposit_amount":0.00,
"security_deposit_returned":false,
"delivery_slot_id":null,
"pickup_slot_id":null,
"pickup_address":null,
"delivery_address":{
"id":6621496660080904,
"address_line1":"123",
"address_line2":"Street",
"city":"Delivery City",
"state":"NY",
"postal_code":null,
"country":null
},
"delivery_address_id":6621496660080904,
"pickup_address_id":null,
"has_issues":null,
"created_ts":1628120276652,
"created_user_id":null,
"updated_ts":1628120276938,
"updated_user_id":null
},
"event":"reservation.create"
}