Search availability
Agency, category and dates → free vehicles and module-computed price, currencies, exact quote with options.
A comparison site, a booking platform or your own website needs to know which vehicles are free on given dates, and how much they cost. The API answers with the rules of the Car Rental module — nothing is recomputed on your side.
- Availability: the module’s planning (pending or confirmed reservations, draft or ongoing agreements, overdue returns, blocks) and the buffer between two rentals.
- Price: the vehicle record’s rate adjusted by its season × duration grid, VAT, document-level taxes, deposit and included mileage.
- Key: the
rental:readscope is enough — it opens neither bookings nor drivers.
1. Agencies and categories
A search starts from a pick-up agency and, often, a category. Read them first:
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/agencies' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/categories' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"Each category has a stable key (key, lowercase): that is what you pass to the category= filter, not the label.
2. Search
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/availability?startAt=2026-12-20T09%3A00%3A00Z&endAt=2026-12-27T09%3A00%3A00Z&pickupAgencyId=7c9e6679-7425-40de-944b-e07fc1f90ae7&category=suv' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"The response lists all matching active, non-archived vehicles, each with available: true or available: false for the whole period (including the buffer), and a quote. Available vehicles appear first.
| Field | Meaning |
|---|---|
days | days charged — each started 24 h block counts |
dailyRate | average daily rate excl. tax used by the grid (a rental spanning two seasons mixes two rates) |
totalExclTax, totalVat, taxes, totalInclTax | the module’s pricing |
deposit | security deposit, not in the total: collected at vehicle hand-over |
includedKm, extraKmRate | kilometres included over the period (null = unlimited) and price per extra kilometre |
categories summarises per category: number of free vehicles and lowest total incl. tax — enough to show “3 SUVs from TND 1,249.50”.
Useful filters: fuel=DIESEL,HYBRID, gearbox=auto (contained text), seatsMin=7, siteId (only vehicles published on that rental website), includeUnavailable=false (return only available vehicles; unavailable vehicles are included by default).
3. Currencies
Amounts are in the workspace currency — that of the booking and of the invoice. currency=EUR adds, in display, the amounts converted at the workspace rate (GET /currencies): to display, never to invoice.
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/availability?startAt=2026-12-20T09%3A00%3A00Z&endAt=2026-12-27T09%3A00%3A00Z¤cy=EUR' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"4. The exact price, options and delivery included
The search does not price inter-agency delivery or paid options. For the booking total — chosen options, configured delivery charges and invoice document-level taxes (stamp duty…) included — ask for a quote with the selected agencies. It uses the same computation as booking creation, without writing or holding anything.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/car-rental/quotes' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"vehicleId": "0b3c5d7e-9f1a-4b2c-8d4e-6f7a8b9c0d1e",
"startAt": "2026-12-20T09:00:00Z",
"endAt": "2026-12-27T09:00:00Z",
"pickupAgencyId": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}'No website is required. Without siteId, quote an active fleet vehicle without paid options (CAR_RENTAL module). To select paid options, add siteId and options: the vehicle must be published on that site and the RENTAL_WEBSITE module is required. Read its catalogue with GET /car-rental/options. In both cases, the API channel settings supply the agencies, minimum lead time and payment policy; rules.dueOnBooking gives the required payment.
Delivery charges come from the workspace’s directional agency matrix: vehicle’s assigned agency → pick-up agency, then return agency → vehicle’s assigned agency. They are one-off EXTRA lines, with VAT, included in totalInclTax. If return is omitted it defaults to pick-up. A missing or zero tariff, the same agency at both ends of a leg, or a vehicle without an assigned agency adds no charge. These lines are separate from the website’s paid options. The API always itemizes them, even if the website hides the breakdown.
Website settings requireAvailability (allow occupied vehicles) and allAgencyVehicles (offer vehicles from other branches) apply to the public website. API quotes and bookings still check planning availability and the vehicle’s pick-up agency, including when siteId is provided.
5. The availability of one vehicle
For an availability calendar: a vehicle’s occupations over a window — kind, status, dates, never the customer’s name.
GET/car-rental/vehicles/{id}/availability
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/vehicles/0b3c5d7e-9f1a-4b2c-8d4e-6f7a8b9c0d1e/availability?from=2026-12-01&to=2026-12-31' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"- GET
/car-rental/availabilitySearch active vehicles and their availability - GET
/car-rental/vehicles/{id}/availabilityVehicle availability over a period - POST
/car-rental/quotesQuote a booking (without booking) - GET
/car-rental/vehiclesList rental vehicles - GET
/car-rental/categoriesVehicle categories - GET
/car-rental/agenciesList agencies - GET
/car-rental/pricing-groupsPricing groups - GET
/car-rental/optionsPaid options of a website