v1
latestOpenAPI 3.0.32026-07-2632131.4 MBQuotes Open Api [Beta]
Create a Quote
This endpoint allows the creation of a price quote for a reservation. It requires details such as the listing ID, check-in and check-out dates, and guest count. The response includes detailed information about the quote, including rates, promotions, and applicable fees.
post/quotes
Query parameters
mergeAccommodationFarePriceComponentsboolean
If set to true, Markups, ExtraPersonFee, and Discounts are hidden from both the nightly rates and invoice items—they are included within the Accommodation Fee (AF). If set to false, these components are itemized separately in the response.
includePaymentsTemplateboolean
Include payments template information in the response
Request body
Example request
{
"checkInDateLocalized": "2024-01-04",
"checkOutDateLocalized": "2024-01-05",
"listingId": "6213b03e7f0ba50032296f4a",
"source": "manual",
"guestsCount": 2,
"couponCode": "OOM20-DISCOUNT"
}Response
Success
Example response
{
"_id": "df7hf01cnduhdb2125854dj8",
"guestsCount": 1,
"source": "source-fb-for-bi",
"stay": [
{
"checkInDateLocalized": "2021-12-20",
"checkOutDateLocalized": "2021-12-22",
"guestsCount": 3,
"numberOfGuests": {
"numberOfAdults": 3,
"numberOfChildren": 0,
"numberOfInfants": 0
},
"unitTypeId": "5e384c9fc2700d002670b61b",
"unitId": "5e384c9fc2700d002670b61b",
"ratePlanId": "5e384c9fc2700d002670b61b"
}
],
"numberOfGuests": {
"numberOfChildren": 1,
"numberOfInfants": 1,
"numberOfPets": 1,
"numberOfAdults": 1
}
}