addedInput schema / properties / email / description
Added value: +"The guest's email: confirmations, the payment link and the host's messages go there."
addedInput schema / properties / first_name / description
Added value: +"The guest's first name."
addedInput schema / properties / house_rules_accepted / description
Added value: +"True only after the guest has seen and agreed to the quote's house_rules."
addedInput schema / properties / last_name / description
Added value: +"The guest's last name."
addedInput schema / properties / phone / description
Added value: +"The guest's phone number in international format, e.g. +15551234567. Optional."
addedInput schema / properties / quote_id / description
Added value: +"The quote being booked, from get_quote (starts with quo_)."
addedInput schema / properties / special_requests / description
Added value: +"Anything the guest wants the host to know, in their words (arrival time, a question). Optional, up to 500 characters."
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "A booking or booking request.",
+ "properties": {
+ "booking": {
+ "additionalProperties": true,
+ "description": "The booking.",
+ "properties": {
+ "check_in": {
+ "type": "string"
+ },
+ "check_out": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "property_id": {
+ "type": "string"
+ },
+ "status": {
+ "description": "e.g. awaiting_payment, pending_host_confirmation, confirmed, declined, cancelled.",
+ "type": "string"
+ },
+ "total": {
+ "description": "An amount in cents with its currency.",
+ "properties": {
+ "amount": {
+ "type": "integer"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "payment_url": {
+ "description": "When present, the guest opens this to add a card; the request reaches the host only after that.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}