Skip to content
Quarters Developers
esc
  • Type an endpoint, an object or a word from a guide.

Object

InquiryInput

A booking request from your form. Text is trimmed.

Fields

FieldTypeDescription
propertyId stringMust be one of your published listings, so a typo fails loudly rather than creating an orphan.
firstName string max 100 chars
lastName requiredstring max 100 chars
email requiredemail max 200 chars
phone string max 50 chars
checkIn date YYYY-MM-DD
checkOut dateMust be after checkIn. YYYY-MM-DD
adults integerThe tenants picker, one field per age band. 0–20
children integer 0–20
infants integer 0–20
pets boolean
guestCount integerDeprecated: folded into adults. Send the age bands instead. 1–50
message string max 10000 chars
locale stringWhich language they were reading. max 10 chars
source stringWhere the form lives. Defaults to website. max 50 chars
metadata objectAnything else your form collects. At most 10 KB serialised. Travels untyped, so the form can evolve without a contract change.

Used by

Example

{
  "propertyId": "0d6e1c2a-…",
  "firstName": "Sofia",
  "lastName": "Rossi",
  "email": "sofia@example.com",
  "phone": "+39 333 000 0000",
  "checkIn": "2026-10-01",
  "checkOut": "2027-04-01",
  "adults": 2,
  "children": 0,
  "infants": 0,
  "pets": false,
  "message": "Two of us, relocating for a project.",
  "locale": "en",
  "source": "website",
  "metadata": {
    "page": "https://www.cityretreat.com/house/…"
  }
}