Quote
POST /partner/v1/quote
Section titled “POST /partner/v1/quote”Scope read:rates. Prices a stay with the agency’s live pricing engine and
checks availability in the same call.
{ "unit": "marina-loft-2br", "arrival": "2026-09-10", "departure": "2026-09-14" }Response 200
Section titled “Response 200”{ "available": true, "instantBook": true, "currency": "AED", "quote": { "lines": [ … ], "total": 223650 }, "nightlyRates": [ { "night": "2026-09-10", "price": 45000, "level": "low" } ], "promos": [ { "id": "…", "label": "September special −15%", "discountPct": 15 } ], "totalBeforePromo": 263100}| Field | Notes |
|---|---|
available | Availability of exactly these dates; the price is calculated either way |
quote.lines | The complete breakdown (nights, cleaning, Tourism Dirham, VAT, promotions) — render as given |
quote.total | Grand total in minor units |
nightlyRates | Per-night engine price with a low/high/peak level for calendar colouring |
promos | Promotions the engine actually applied (can be empty) |
totalBeforePromo | Undiscounted total for strike-through display; null without promotions |
Errors
Section titled “Errors”| HTTP | code | Meaning |
|---|---|---|
| 400 | VALIDATION | Body malformed or departure ≤ arrival |
| 404 | NOT_FOUND | Unknown unit slug |
| 422 | MIN_STAY | Stay shorter than the effective minimum; response carries minStay |
Worked example and promotion semantics: quotes guide.