• VillaSlotDocumentation
  • Introduction
  • Getting Started
  • API
    • Discovery
      • GETGet my context
    • Villas
      • GETList villas
      • POSTCreate a villa
      • GETGet a villa
      • PATCHRename a villa
      • POSTArchive a villa
      • POSTUpload a villa photo
      • GETGet opening hours
      • PUTReplace opening hours
      • GETGet the rate grid
      • PUTReplace the rate grid
      • GETGet availability
    • Bookings
      • GETList bookings over a period
      • POSTCreate a booking
      • GETGet a booking
      • POSTConfirm a booking
      • POSTComplete a booking
      • POSTCancel a booking
      • POSTReschedule a booking
    • Customers
      • GETList customers
      • POSTCreate a customer
      • POSTImport a batch of customers
      • GETGet a customer
      • PATCHUpdate a customer
    • Booking settings
      • GETGet booking settings
      • PATCHUpdate booking settings
  1. Documentation
  2. API
  3. Villas
Buydocschangelogsdemocommunity

Villas

PreviousGet my contextNextList villas

A villa is what gets booked. Everything a booking needs hangs off it: opening hours (a day without hours is closed, which is not the same as free), a rate grid (a duration with no rate is not bookable at all) and, optionally, a nightly rate.

Reading is open to every member; configuring is not. That mirrors the app exactly: the product reserves villa configuration to the owner and the organization admins.

A villa is never deleted — it is archived. Its past bookings stay attached to it.