Reservations

Quote

Get a quote for a property for a specific time frame. Returns a standard JSON serialization.

get

/rest/partners/property/{id}/quote


Path params

NameTypeMandatoryDescription
idintegeryesProperty ID

Query params

NameTypeMandatoryDescription
arrivalstringyesarrival date (eg. 2020-05-21)
departurestringyesdeparture date (eg. 2020-05-29)
adultsintegeryesnumber of adults, minimum 1
childrenintegernonumber of children
babiesintegernonumber of babies
petsbooleannowith/without pets

Request

GET /rest/partners/property/1/quote?arrival=2020-05-21&departure=2020-05-29&adults=2&children=1&babies=0&pets=0 HTTP/1.1
Host: {HOST}
Content-Type: application/json
Accept: application/json
Authorization: Basic {BASE64_BASIC_AUTH}

Response

{
  "search_criteria": {
    "daterange": {
      "start": "2020-05-21",
      "end": "2020-05-29"
    },
    "length_of_stay": 8,
    "adults": 2,
    "children": 1,
    "babies": 0,
    "pets": 0
  },
  "currency": {
    "id": 3,
    "iso_code": "AUD",
    "name": {
      "en": "Australian Dollars"
    },
    "symbol": "$",
    "html_code": "$",
    "html_entity": "$"
  },
  "amount": {
    "accommodation_without_discount": 3233.92,
    "discount": 0,
    "taxes": 0,
    "fees": 423,
    "total": 3656.92,
    "accommodation": 3233.92,
    "security_deposit": 1000
  },
  "taxes": [],
  "fees": [
    {
      "id": null,
      "name": {
        "en": "Cleaning fee"
      },
      "amount": 344
    },
    {
      "id": 258,
      "name": {
        "en": "Property Protection Insurance"
      },
      "amount": 79
    }
  ],
  "discounts": [],
  "quote_id": "426a2001de6d5dd5c54f582362052e2c2bfe3c72"
}

Going live

Before you go live with your integration, we recommend contacting our support team.

Support & feedback

Need help integrating with Content API? The experts in our support team are here to help. Contact us at contact@rentalwise.com.

Previous
Availability