Availability
- 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)
Search active vehicles and their availability #
/api/public/v1/quosuite/car-rental/availabilityrental:readsearchRentalAvailabilityPick-up agency, category, fuel type, gearbox, seats and dates → all matching active, non-archived vehicles, each with available (free over the whole period, including the buffer) and its price computed by the module (season × duration grid, VAT, document-level taxes, deposit, included mileage), plus a summary per category. includeUnavailable=false returns only available vehicles. siteId restricts to vehicles published on that website; currency adds converted amounts (display only). Active invoice taxes and charges for the selected agencies are included; with siteId, mandatory options are included and the applicable catalog is returned. Past pick-up, inverted period or more than 365 days: 422.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarreturnAgencyIdstring (uuid)queryReturn agency used to calculate delivery fees.
startAtstringqueryrequiredPick-up (ISO 8601).
endAtstringqueryrequiredReturn (ISO 8601).
pickupAgencyIdstring (uuid)queryPick-up agency: its vehicles and the shared vehicles.
categorystring[]queryCategory keys, comma-separated.
fuelstring[]queryFuel types, comma-separated.
gearboxstringqueryGearbox (contained text, case-insensitive).
seatsMinnumberquerysiteIdstring (uuid)queryRestrict to vehicles published on this rental website.
currencystringqueryDisplay currency: amounts converted at the workspace rate in
display.includeUnavailablebooleanqueryInclude occupied vehicles (
available: false), included by default.falsereturns only available vehicles.
Response 200application/json
Success.
periodRentalPeriodDtorequiredRentalPeriodDto details
currencystringrequirede.g.TNDitemsRentalAvailableVehicleDto[]requiredRentalAvailableVehicleDto details
categoriesRentalCategoryAvailabilityDto[]requiredRentalCategoryAvailabilityDto details
noticesRentalNoticeDto[]requiredWarnings from the rental policy (minimum duration…), non-blocking.
RentalNoticeDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/availability' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"period": {
"startAt": "2026-12-20T09:00:00.000Z",
"endAt": "2026-12-27T09:00:00.000Z",
"days": 7
},
"currency": "TND",
"items": [
{
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"agencyId": "ee98c7cb-fbba-4dfe-8568-afb670e82921",
"available": true,
"quote": {
"options": [
{
"id": "2499fb44-fd80-44ae-8a23-784dcf2695f5",
"code": "gps",
"kind": "INSURANCE",
"name": "GPS",
"perDay": true,
"mandatory": true,
"selected": true,
"billedPerDay": true,
"capped": true,
"unitPrice": 0,
"vatRate": 0,
"totalExclTax": null,
"maxQuantity": 0,
"maxAmount": null,
"quantity": 1,
"totalInclTax": 41.65
}
],
"days": 7,
"dailyRate": 92.857,
"vatRate": 19,
"totalExclTax": 650,
"totalVat": 123.5,
"taxes": [
{
"label": "Timbre fiscal",
"amount": 1,
"taxRateId": "fa39be0f-bd54-45e6-8881-f6669dd38479",
"computation": "PERCENTAGE",
"stage": "BEFORE_VAT",
"rate": 0,
"base": 0,
"unitAmount": 0,
"position": 0
}
],
"totalInclTax": 774.5,
"deposit": 500,
"includedKm": 1400,
"extraKmRate": 0.3,
"currency": "TND"
},
"display": {
"currency": "EUR",
"dailyRate": 27.72,
"totalInclTax": 231.19,
"deposit": 149.25
},
"publicationSlug": "peugeot-208"
}
],
"categories": [
{
"key": "citadine",
"label": "Citadine",
"available": 3,
"fromTotalInclTax": 774.5
}
],
"notices": [
{
"code": "MIN_RENTAL_DAYS",
"minRentalDays": 3
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Vehicle availability over a period #
/api/public/v1/quosuite/car-rental/vehicles/{id}/availabilityrental:readgetRentalVehicleAvailabilityOccupations du véhicule sur la fenêtre (réservations, contrats, retards, immobilisations) — nature, statut et dates seulement, sans client ni numéro de pièce. Défaut : 30 jours à partir de maintenant ; 366 jours au plus. QuoRent: vehicleId, from, to, free and rentable describe the searched window; busy lists future pending or confirmed reservations starting at or after to (startAt, endAt only).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
idstring (uuid)pathrequiredlangstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarfromstringqueryStart of the window (default: now).
tostringqueryEnd of the window (default: 30 days; 366 days at most).
Response 200application/json
Success.
vehicleIdstring (uuid)requiredstatusstringrequiredvaluesACTIVEMAINTENANCEOUT_OF_SERVICErentablebooleanrequiredIn service and not archived.
fromstringrequiredtostringrequiredfreebooleanrequiredRentable and with no occupation over the whole window.
bufferHoursnumberrequiredBuffer between two rentals (hours).
e.g.2busyRentalBusyPeriodDto[]requiredOccupations in the window — with no customer name and no document number.
RentalBusyPeriodDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/vehicles/aac39e3a-0c40-44b2-8697-b597f357c5a9/availability' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"vehicleId": "a6e5dfc2-3035-4baa-8f17-e19f9a46de89",
"status": "ACTIVE",
"rentable": true,
"from": "string",
"to": "string",
"free": true,
"bufferHours": 2,
"busy": [
{
"kind": "RESERVATION",
"status": "CONFIRMED",
"startAt": "2026-10-02T09:15:00.000Z",
"endAt": "2026-10-02T09:15:00.000Z",
"overdue": true
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Quote a booking (without booking) #
/api/public/v1/quosuite/car-rental/quotesrental:readquoteRentalBookingLe chiffrage exact d’une future réservation, par le même calcul que la création : véhicule (publié sur le site si siteId, sinon de la flotte), période, agences, options (site seulement) → disponibilité, lignes (frais de livraison inter-agences compris), taxes de pied de la facture, total TTC (celui qui sera facturé), caution, kilométrage, règles du canal API dont la politique de paiement et le montant à payer en réservant (rules.dueOnBooking). N’écrit rien et ne retient rien. Les frais sont ponctuels et directionnels : agence du véhicule → départ, puis retour → agence du véhicule ; sans tarif configuré, aucun frais. La recherche GET /car-rental/availability chiffre aussi les trajets des agences choisies ; ce chiffrage permet en plus de choisir les options avant de réserver. Les réglages du site requireAvailability, allAgencyVehicles et showDeliveryFees ne modifient pas le canal API.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Request body application/json
siteIdstring (uuid)Rental site whose catalogue applies (vehicle published on this site, paid options; Website module). Without a site: any active vehicle of the fleet, without options. In both cases the API channel settings apply (open or closed, payment policy, lead times, branches, emails).
vehicleIdstring (uuid)requiredFleet vehicle (published on the site if
siteIdis given).startAtstringrequirede.g.2026-12-20T09:00:00ZendAtstringrequirede.g.2026-12-27T09:00:00ZpickupAgencyIdstring (uuid)returnAgencyIdstring (uuid)optionsRentalOptionChoiceInput[]RentalOptionChoiceInput details
langstringvaluesfrenar
Response 200application/json
Success.
siteIdstring (uuid) | nullvehicleIdstring (uuid)requiredavailablebooleanrequiredFree over the period — checked again at booking time.
periodRentalPeriodDtorequiredRentalPeriodDto details
pickupAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
returnAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
linesRentalQuoteLineDto[]requiredRentalQuoteLineDto details
optionsRentalQuotedOptionDto[]requiredApplicable catalogue, chosen options ticked.
RentalQuotedOptionDto details
taxesRentalTaxAmountDto[]requiredRentalTaxAmountDto details
totalExclTaxnumberrequirede.g.805totalVatnumberrequirede.g.152.95totalInclTaxnumberrequiredAmount of the booking and of the invoice.
e.g.958.95depositnumberrequirede.g.500mileageRentalMileagePolicyDtorequiredRentalMileagePolicyDto details
currencystringrequirede.g.TNDdisplayRentalDisplayAmountsDtorequiredIn the website currency if
siteIdis provided, otherwise the workspace currency.RentalDisplayAmountsDto details
noticesRentalNoticeDto[]requiredRentalNoticeDto details
rulesRentalBookingRulesDtorequiredRentalBookingRulesDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
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": "1d6ae066-9e3b-43fa-864e-4333ae79e225",
"startAt": "2026-12-20T09:00:00Z",
"endAt": "2026-12-27T09:00:00Z"
}'{
"success": true,
"data": {
"siteId": "a2ca6570-98e2-4c2c-8b96-6561cdb5a1f5",
"vehicleId": "707c138b-b96c-4eee-8a0f-e7629b9b2011",
"available": true,
"period": {
"startAt": "2026-12-20T09:00:00.000Z",
"endAt": "2026-12-27T09:00:00.000Z",
"days": 7
},
"pickupAgency": {
"id": "b91c3927-1f63-45da-8d9c-9f48a57b7481",
"code": "TUN",
"name": "Tunis Centre"
},
"returnAgency": {
"id": "b91c3927-1f63-45da-8d9c-9f48a57b7481",
"code": "TUN",
"name": "Tunis Centre"
},
"lines": [
{
"kind": "RENTAL",
"label": "Location Peugeot 208",
"quantity": 7,
"unitPrice": 100,
"vatRate": 19,
"totalExclTax": 700,
"totalInclTax": 833
}
],
"options": [
{
"id": "2499fb44-fd80-44ae-8a23-784dcf2695f5",
"code": "gps",
"kind": "INSURANCE",
"name": "GPS",
"perDay": true,
"mandatory": true,
"selected": true,
"billedPerDay": true,
"capped": true,
"unitPrice": 0,
"vatRate": 0,
"totalExclTax": null,
"maxQuantity": 0,
"maxAmount": null,
"quantity": 1,
"totalInclTax": 41.65
}
],
"taxes": [
{
"label": "Timbre fiscal",
"amount": 1,
"taxRateId": "fa39be0f-bd54-45e6-8881-f6669dd38479",
"computation": "PERCENTAGE",
"stage": "BEFORE_VAT",
"rate": 0,
"base": 0,
"unitAmount": 0,
"position": 0
}
],
"totalExclTax": 805,
"totalVat": 152.95,
"totalInclTax": 958.95,
"deposit": 500,
"mileage": {
"includedKmPerDay": 200,
"extraKmRate": 0.3
},
"currency": "TND",
"display": {
"currency": "EUR",
"dailyRate": 27.72,
"totalInclTax": 231.19,
"deposit": 149.25
},
"notices": [
{
"code": "MIN_RENTAL_DAYS",
"minRentalDays": 3
}
],
"rules": {
"holdMinutes": 30,
"minLeadHours": 2,
"payAtAgency": true,
"payment": {
"flow": "PAY_ON_BOOKING",
"onBooking": {
"type": "FULL",
"value": 30
},
"onAcceptance": {
"type": "FULL",
"value": 30
},
"requestTtlHours": 24,
"paymentDeadlineHours": 48
},
"dueOnBooking": 287.69,
"freeCancellationHours": 48,
"cancellationFeePercent": 20
}
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Generated from the QuoSuite API OpenAPI contract v1.0.0.