Customer accounts
- POST
/car-rental/accounts/loginSign a customer in - POST
/car-rental/accounts/logoutSign a customer out - GET
/car-rental/accounts/meSigned-in customer’s account - PATCH
/car-rental/accounts/meUpdate the signed-in customer’s account - GET
/car-rental/accounts/me/bookingsSigned-in customer’s bookings - POST
/car-rental/accounts/me/bookingsBook for the signed-in customer - GET
/car-rental/accounts/me/bookings/{id}One of the signed-in customer’s bookings - POST
/car-rental/accounts/me/bookings/{id}/cancelCancel one of the signed-in customer’s bookings - GET
/car-rental/accounts/me/bookings/{id}/documents/{kind}PDF of one of the signed-in customer’s bookings - POST
/car-rental/accounts/me/passwordChange the password - GET
/car-rental/accounts/me/rentalsRentals of the logged-in customer - GET
/car-rental/accounts/me/rentals/{id}A rental of the logged-in customer - POST
/car-rental/accounts/password/forgotForgotten password - POST
/car-rental/accounts/password/resetNew password (link received) - POST
/car-rental/accounts/registerRegister a customer
Sign a customer in #
/api/public/v1/quosuite/car-rental/accounts/loginrental_accounts:writeloginRentalAccountEmail and password → session, valid for 30 days and extended on each use. Failure (unknown email, wrong password, disabled account): 401 CUSTOMER_AUTH_FAILED, without saying which. Limit attempts on your side (per visitor IP address).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Request body application/json
siteIdstring (uuid)Rental site the account belongs to — its accounts are those of the site’s customer area (Website module). Without
siteId: an API channel account, specific to your integrations. One email can have an account in each; they are kept separate.emailstringrequiredmax.length 200e.g.sami@example.tnpasswordstringrequiredmax.length 200localestringvaluesfrenar
Response 200application/json
Success.
accountRentalAccountDtorequiredRentalAccountDto details
sessionstringrequiredCustomer session, to send back in the
X-Rental-Sessionheader of the/car-rental/accounts/me…routes. Secret: keep it server-side or in anHttpOnlycookie of your site. Extended on each use.e.g.mJ4w7c2Vt0b…expiresAtstringrequiredSession expiry.
e.g.2026-12-21T09:15:00.000Z
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.
401CUSTOMER_AUTH_FAILED
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or customer sign-in refused: wrong email or password, without saying which.
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/accounts/login' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"email": "sami@example.tn",
"password": "string"
}'{
"success": true,
"data": {
"account": {
"id": "3107a26c-e555-4d0c-8dec-74a54fb19e45",
"siteId": "6207262f-df38-452a-8101-4368ca632fc1",
"customerId": "16d8b5c8-95d5-4528-8155-fcc18a945bd5",
"email": "sami@example.tn",
"firstName": "Sami",
"lastName": "Ben Ali",
"phone": "+216 22 000 000",
"locale": "fr",
"acceptsMarketing": true,
"driverProfile": {
"birthDate": "1990-04-12",
"drivingLicenseNumber": {},
"drivingLicenseIssuedAt": {},
"drivingLicenseExpiresAt": {},
"identityNumber": {},
"passportNumber": {},
"nationality": {},
"address": {},
"city": {},
"country": {}
},
"createdAt": "2026-11-21T09:15:00.000Z"
},
"session": "mJ4w7c2Vt0b…",
"expiresAt": "2026-12-21T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Sign a customer out #
/api/public/v1/quosuite/car-rental/accounts/logoutrental_accounts:writelogoutRentalAccountCloses the session sent; the account’s other sessions stay open.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
okbooleanrequirede.g.true
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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/accounts/logout' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"ok": true
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Signed-in customer’s account #
/api/public/v1/quosuite/car-rental/accounts/merental_accounts:readgetRentalAccountContact details and driver documents (they prefill a booking’s driver), ERP customer record (customerId).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
idstring (uuid)requiredsiteIdstring (uuid) | nullrequiredRental site of the account;
null: API channel account.customerIdstring (uuid)requiredERP customer record of the account (
customerIdof bookings,GET /car-rental/customers/{id}).emailstringrequirede.g.sami@example.tnfirstNamestring | nullrequirede.g.SamilastNamestring | nullrequirede.g.Ben Aliphonestring | nullrequirede.g.+216 22 000 000localestring | nullrequirede.g.fracceptsMarketingbooleanrequireddriverProfileRentalDriverProfileDtorequiredDriver documents entered by the customer: they prefill
driver.RentalDriverProfileDto details
createdAtstringrequirede.g.2026-11-21T09:15:00.000Z
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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/accounts/me' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "3107a26c-e555-4d0c-8dec-74a54fb19e45",
"siteId": "6207262f-df38-452a-8101-4368ca632fc1",
"customerId": "16d8b5c8-95d5-4528-8155-fcc18a945bd5",
"email": "sami@example.tn",
"firstName": "Sami",
"lastName": "Ben Ali",
"phone": "+216 22 000 000",
"locale": "fr",
"acceptsMarketing": true,
"driverProfile": {
"birthDate": "1990-04-12",
"drivingLicenseNumber": {},
"drivingLicenseIssuedAt": {},
"drivingLicenseExpiresAt": {},
"identityNumber": {},
"passportNumber": {},
"nationality": {},
"address": {},
"city": {},
"country": {}
},
"createdAt": "2026-11-21T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Update the signed-in customer’s account #
/api/public/v1/quosuite/car-rental/accounts/merental_accounts:writeupdateRentalAccountName, phone, language, consent, driver documents. The ERP customer record follows the name and phone; its documents are only filled where empty (the branch stays in charge of what it has checked). The email does not change: it identifies the account.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Request body application/json
firstNamestringmax.length 120lastNamestringmax.length 120phonestringmax.length 40acceptsMarketingbooleanlocalestringvaluesfrenarbirthDatestringe.g.1990-04-12drivingLicenseNumberstringmax.length 60drivingLicenseIssuedAtstringe.g.2012-06-01drivingLicenseExpiresAtstringe.g.2032-06-01identityNumberstringmax.length 60passportNumberstringmax.length 60nationalitystringmax.length 80addressstringmax.length 300citystringmax.length 120countrystringmax.length 80
Response 200application/json
Success.
idstring (uuid)requiredsiteIdstring (uuid) | nullrequiredRental site of the account;
null: API channel account.customerIdstring (uuid)requiredERP customer record of the account (
customerIdof bookings,GET /car-rental/customers/{id}).emailstringrequirede.g.sami@example.tnfirstNamestring | nullrequirede.g.SamilastNamestring | nullrequirede.g.Ben Aliphonestring | nullrequirede.g.+216 22 000 000localestring | nullrequirede.g.fracceptsMarketingbooleanrequireddriverProfileRentalDriverProfileDtorequiredDriver documents entered by the customer: they prefill
driver.RentalDriverProfileDto details
createdAtstringrequirede.g.2026-11-21T09:15:00.000Z
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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 PATCH 'https://quosuite.com/api/public/v1/quosuite/car-rental/accounts/me' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"birthDate": "1990-04-12",
"drivingLicenseIssuedAt": "2012-06-01",
"drivingLicenseExpiresAt": "2032-06-01"
}'{
"success": true,
"data": {
"id": "3107a26c-e555-4d0c-8dec-74a54fb19e45",
"siteId": "6207262f-df38-452a-8101-4368ca632fc1",
"customerId": "16d8b5c8-95d5-4528-8155-fcc18a945bd5",
"email": "sami@example.tn",
"firstName": "Sami",
"lastName": "Ben Ali",
"phone": "+216 22 000 000",
"locale": "fr",
"acceptsMarketing": true,
"driverProfile": {
"birthDate": "1990-04-12",
"drivingLicenseNumber": {},
"drivingLicenseIssuedAt": {},
"drivingLicenseExpiresAt": {},
"identityNumber": {},
"passportNumber": {},
"nationality": {},
"address": {},
"city": {},
"country": {}
},
"createdAt": "2026-11-21T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Signed-in customer’s bookings #
/api/public/v1/quosuite/car-rental/accounts/me/bookingsrental_accounts:readlistRentalAccountBookingsTheir bookings — those made while signed in, on the account’s site or through the API —, from the furthest to the oldest (200 at most), in the shape of GET /car-rental/bookings.
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.frenarX-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
itemsRentalAccountBookingDto[]requiredRentalAccountBookingDto 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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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/accounts/me/bookings' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "e57a9f43-9182-40aa-8f83-6e46456d347d",
"number": "RES-2026-0042",
"source": "WEBSITE",
"status": "PENDING_PAYMENT",
"statusLabel": "Confirmée",
"paymentMode": "ONLINE",
"paymentStatus": "NONE",
"holdExpiresAt": "2026-10-02T09:15:00.000Z",
"requestExpiresAt": "2026-10-02T09:15:00.000Z",
"acceptedAt": "2026-10-02T09:15:00.000Z",
"paymentTerm": {
"type": "FULL",
"value": 30
},
"paymentLink": {
"id": "83ffc5fd-bdc9-4062-8087-a7ae7c56738d",
"url": "https://portail.quosuite.com/pay/…",
"amount": 287.69,
"paidAmount": 0,
"currency": "TND",
"status": "ACTIVE",
"expiresAt": "2026-10-02T09:15:00.000Z"
},
"siteId": "522e1530-4168-4d3e-8218-3f95e4ab94d9",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"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"
},
"options": [
{
"optionId": "e966bb34-017e-440c-8e00-473dd1ccd625",
"code": "gps",
"label": "GPS",
"quantity": 1,
"perDay": true,
"totalExclTax": 35,
"totalInclTax": 41.65
}
],
"amounts": {
"currency": "TND",
"totalExclTax": 805,
"totalVat": 152.95,
"totalInclTax": 958.95,
"deposit": 500,
"due": 287.69,
"paid": 958.95,
"refunded": 0,
"balanceDue": 0,
"displayCurrency": "EUR",
"displayTotalInclTax": 286.25
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"customer": {
"partnerId": "e85b60de-77d7-4856-8804-216b603b1c25",
"name": "Sami Ben Ali",
"email": "sami@example.tn",
"phone": null
},
"driver": {
"firstName": null,
"lastName": null,
"phone": null,
"flightNumber": "TU 712",
"secondDriverName": null
},
"reservation": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"contract": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"invoice": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"documents": {
"voucher": true,
"contract": true,
"invoice": true
},
"trackingUrl": "https://location.exemple.tn/booking/track/…",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Book for the signed-in customer #
/api/public/v1/quosuite/car-rental/accounts/me/bookingsrental_accounts:writeIdempotentcreateRentalAccountBookingSame body, same rules and same responses as POST /car-rental/bookings, the booking being attached to the account: the account’s customer record (customerId refused if it names another one), the account’s site — or none for an API channel account (siteId refused if it names another one). It then appears in GET /car-rental/accounts/me/bookings. PREPAID also requires the payments scope.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
Idempotency-KeystringheaderrequiredMandatory on this route. Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A new attempt with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still running: 409IDEMPOTENCY_IN_PROGRESS. As forPOST /car-rental/bookings: the key is kept with no expiry on the booking.X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
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
langstringvaluesfrenarcustomerIdstring (uuid)Existing ERP customer; without it, the customer is found by the driver’s email, or created.
driverRentalDriverInputrequiredRentalDriverInput details
paymentRentalBookingPaymentInputrequiredRentalBookingPaymentInput details
acceptTermsbooleanrequiredThe customer accepted the website’s rental terms (mandatory,
true) — the fingerprint of the accepted text is kept on the booking.notesstringmax.length 1000
Response 201application/json
Created.
idstring (uuid)requirednumberstringrequiredNumber of the module reservation.
e.g.RES-2026-0042sourcestringrequiredWEBSITE(rental website) orAPI.valuesWEBSITEAPIstatusstringrequiredDisplayed status, derived from the module.
valuesPENDING_PAYMENTREQUESTEDCONFIRMEDIN_PROGRESSRETURNEDCANCELLEDEXPIREDstatusLabelstringrequirede.g.ConfirméepaymentModestringrequiredvaluesONLINEAGENCYpaymentStatusstringrequiredvaluesNONEPENDINGPAIDFAILEDPARTIALLY_REFUNDEDREFUNDEDPARTIALLY_PAIDholdExpiresAtstring | nullOnline payment expected until this instant; after that the vehicle is released.
requestExpiresAtstring | nullRequest: the agency answers before this time, otherwise it expires (vehicle released).
acceptedAtstring | nullRequest accepted on…
paymentTermRentalPaymentTermDto | nullPayment term applied (at booking, or chosen on acceptance).
RentalPaymentTermDto details
paymentLinkRentalPaymentLinkDto | nullCurrent payment link (
/pay/…page): pass it to the customer if they are not notified by email (API channelnotifyCustomersetting).RentalPaymentLinkDto details
siteIdstring (uuid) | nullSite whose catalogue was used;
nullfor an API booking without a site.vehicleRentalVehicleSummaryDtorequiredRentalVehicleSummaryDto details
periodRentalPeriodDtorequiredRentalPeriodDto details
pickupAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
returnAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
optionsRentalBookingOptionDto[]requiredRentalBookingOptionDto details
amountsRentalBookingAmountsDtorequiredRentalBookingAmountsDto details
depositRentalDepositStateDto | nullDeposit of the agreement (collected at pick-up);
nullwhile there is no agreement.RentalDepositStateDto details
customerRentalCustomerRefDtorequiredRentalCustomerRefDto details
driverRentalBookingDriverDtorequiredDriver — identity documents and licence:
GET /car-rental/customers/{id}.RentalBookingDriverDto details
reservationRentalDocumentRefDto | nullModule reservation.
RentalDocumentRefDto details
contractRentalDocumentRefDto | nullRental agreement.
RentalDocumentRefDto details
invoiceRentalDocumentRefDto | nullERP invoice (also readable through
GET /sales/invoices/{id}).RentalDocumentRefDto details
documentsRentalBookingDocumentsDtorequiredRentalBookingDocumentsDto details
trackingUrlstring | nullCustomer tracking page on the website (secret link: share it with the customer only).
e.g.https://location.exemple.tn/booking/track/…createdAtstringrequiredupdatedAtstringrequired
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED
Subscription plan limit or option (monthly document quota, multi-currency…).
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.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
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.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/car-rental/accounts/me/bookings' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"vehicleId": "1ceeeeaf-de4f-4482-89e9-619e1015a25d",
"startAt": "2026-12-20T09:00:00Z",
"endAt": "2026-12-27T09:00:00Z",
"driver": {
"firstName": "Sami",
"lastName": "Ben Ali",
"email": "sami@example.tn"
},
"payment": {
"mode": "AGENCY"
},
"acceptTerms": true
}'{
"success": true,
"data": {
"id": "e57a9f43-9182-40aa-8f83-6e46456d347d",
"number": "RES-2026-0042",
"source": "WEBSITE",
"status": "PENDING_PAYMENT",
"statusLabel": "Confirmée",
"paymentMode": "ONLINE",
"paymentStatus": "NONE",
"holdExpiresAt": "2026-10-02T09:15:00.000Z",
"requestExpiresAt": "2026-10-02T09:15:00.000Z",
"acceptedAt": "2026-10-02T09:15:00.000Z",
"paymentTerm": {
"type": "FULL",
"value": 30
},
"paymentLink": {
"id": "83ffc5fd-bdc9-4062-8087-a7ae7c56738d",
"url": "https://portail.quosuite.com/pay/…",
"amount": 287.69,
"paidAmount": 0,
"currency": "TND",
"status": "ACTIVE",
"expiresAt": "2026-10-02T09:15:00.000Z"
},
"siteId": "522e1530-4168-4d3e-8218-3f95e4ab94d9",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"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"
},
"options": [
{
"optionId": "e966bb34-017e-440c-8e00-473dd1ccd625",
"code": "gps",
"label": "GPS",
"quantity": 1,
"perDay": true,
"totalExclTax": 35,
"totalInclTax": 41.65
}
],
"amounts": {
"currency": "TND",
"totalExclTax": 805,
"totalVat": 152.95,
"totalInclTax": 958.95,
"deposit": 500,
"due": 287.69,
"paid": 958.95,
"refunded": 0,
"balanceDue": 0,
"displayCurrency": "EUR",
"displayTotalInclTax": 286.25
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"customer": {
"partnerId": "e85b60de-77d7-4856-8804-216b603b1c25",
"name": "Sami Ben Ali",
"email": "sami@example.tn",
"phone": null
},
"driver": {
"firstName": null,
"lastName": null,
"phone": null,
"flightNumber": "TU 712",
"secondDriverName": null
},
"reservation": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"contract": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"invoice": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"documents": {
"voucher": true,
"contract": true,
"invoice": true
},
"trackingUrl": "https://location.exemple.tn/booking/track/…",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}One of the signed-in customer’s bookings #
/api/public/v1/quosuite/car-rental/accounts/me/bookings/{id}rental_accounts:readgetRentalAccountBookingAnother customer’s booking: 404, like a missing booking.
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.frenarX-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
idstring (uuid)requirednumberstringrequiredNumber of the module reservation.
e.g.RES-2026-0042sourcestringrequiredWEBSITE(rental website) orAPI.valuesWEBSITEAPIstatusstringrequiredDisplayed status, derived from the module.
valuesPENDING_PAYMENTREQUESTEDCONFIRMEDIN_PROGRESSRETURNEDCANCELLEDEXPIREDstatusLabelstringrequirede.g.ConfirméepaymentModestringrequiredvaluesONLINEAGENCYpaymentStatusstringrequiredvaluesNONEPENDINGPAIDFAILEDPARTIALLY_REFUNDEDREFUNDEDPARTIALLY_PAIDholdExpiresAtstring | nullOnline payment expected until this instant; after that the vehicle is released.
requestExpiresAtstring | nullRequest: the agency answers before this time, otherwise it expires (vehicle released).
acceptedAtstring | nullRequest accepted on…
paymentTermRentalPaymentTermDto | nullPayment term applied (at booking, or chosen on acceptance).
RentalPaymentTermDto details
paymentLinkRentalPaymentLinkDto | nullCurrent payment link (
/pay/…page): pass it to the customer if they are not notified by email (API channelnotifyCustomersetting).RentalPaymentLinkDto details
siteIdstring (uuid) | nullSite whose catalogue was used;
nullfor an API booking without a site.vehicleRentalVehicleSummaryDtorequiredRentalVehicleSummaryDto details
periodRentalPeriodDtorequiredRentalPeriodDto details
pickupAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
returnAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
optionsRentalBookingOptionDto[]requiredRentalBookingOptionDto details
amountsRentalBookingAmountsDtorequiredRentalBookingAmountsDto details
depositRentalDepositStateDto | nullDeposit of the agreement (collected at pick-up);
nullwhile there is no agreement.RentalDepositStateDto details
customerRentalCustomerRefDtorequiredRentalCustomerRefDto details
driverRentalBookingDriverDtorequiredDriver — identity documents and licence:
GET /car-rental/customers/{id}.RentalBookingDriverDto details
reservationRentalDocumentRefDto | nullModule reservation.
RentalDocumentRefDto details
contractRentalDocumentRefDto | nullRental agreement.
RentalDocumentRefDto details
invoiceRentalDocumentRefDto | nullERP invoice (also readable through
GET /sales/invoices/{id}).RentalDocumentRefDto details
documentsRentalBookingDocumentsDtorequiredRentalBookingDocumentsDto details
trackingUrlstring | nullCustomer tracking page on the website (secret link: share it with the customer only).
e.g.https://location.exemple.tn/booking/track/…createdAtstringrequiredupdatedAtstringrequired
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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/accounts/me/bookings/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "e57a9f43-9182-40aa-8f83-6e46456d347d",
"number": "RES-2026-0042",
"source": "WEBSITE",
"status": "PENDING_PAYMENT",
"statusLabel": "Confirmée",
"paymentMode": "ONLINE",
"paymentStatus": "NONE",
"holdExpiresAt": "2026-10-02T09:15:00.000Z",
"requestExpiresAt": "2026-10-02T09:15:00.000Z",
"acceptedAt": "2026-10-02T09:15:00.000Z",
"paymentTerm": {
"type": "FULL",
"value": 30
},
"paymentLink": {
"id": "83ffc5fd-bdc9-4062-8087-a7ae7c56738d",
"url": "https://portail.quosuite.com/pay/…",
"amount": 287.69,
"paidAmount": 0,
"currency": "TND",
"status": "ACTIVE",
"expiresAt": "2026-10-02T09:15:00.000Z"
},
"siteId": "522e1530-4168-4d3e-8218-3f95e4ab94d9",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"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"
},
"options": [
{
"optionId": "e966bb34-017e-440c-8e00-473dd1ccd625",
"code": "gps",
"label": "GPS",
"quantity": 1,
"perDay": true,
"totalExclTax": 35,
"totalInclTax": 41.65
}
],
"amounts": {
"currency": "TND",
"totalExclTax": 805,
"totalVat": 152.95,
"totalInclTax": 958.95,
"deposit": 500,
"due": 287.69,
"paid": 958.95,
"refunded": 0,
"balanceDue": 0,
"displayCurrency": "EUR",
"displayTotalInclTax": 286.25
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"customer": {
"partnerId": "e85b60de-77d7-4856-8804-216b603b1c25",
"name": "Sami Ben Ali",
"email": "sami@example.tn",
"phone": null
},
"driver": {
"firstName": null,
"lastName": null,
"phone": null,
"flightNumber": "TU 712",
"secondDriverName": null
},
"reservation": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"contract": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"invoice": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"documents": {
"voucher": true,
"contract": true,
"invoice": true
},
"trackingUrl": "https://location.exemple.tn/booking/track/…",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Cancel one of the signed-in customer’s bookings #
/api/public/v1/quosuite/car-rental/accounts/me/bookings/{id}/cancelrental_accounts:writeIdempotentcancelRentalAccountBookingCancellation by the customer, under the cancellation policy of the booking’s channel (deadline, fees): vehicle released, refund of what the policy returns. Past the deadline, already started or returned: 422 BUSINESS_RULE_VIOLATION (detail.rule).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
idstring (uuid)pathrequiredIdempotency-KeystringheaderIdempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still in progress: 409IDEMPOTENCY_IN_PROGRESS.X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Request body application/json
reasonstringmax.length 500e.g.Vol annulé
Response 200application/json
Success.
idstring (uuid)requirednumberstringrequiredNumber of the module reservation.
e.g.RES-2026-0042sourcestringrequiredWEBSITE(rental website) orAPI.valuesWEBSITEAPIstatusstringrequiredDisplayed status, derived from the module.
valuesPENDING_PAYMENTREQUESTEDCONFIRMEDIN_PROGRESSRETURNEDCANCELLEDEXPIREDstatusLabelstringrequirede.g.ConfirméepaymentModestringrequiredvaluesONLINEAGENCYpaymentStatusstringrequiredvaluesNONEPENDINGPAIDFAILEDPARTIALLY_REFUNDEDREFUNDEDPARTIALLY_PAIDholdExpiresAtstring | nullOnline payment expected until this instant; after that the vehicle is released.
requestExpiresAtstring | nullRequest: the agency answers before this time, otherwise it expires (vehicle released).
acceptedAtstring | nullRequest accepted on…
paymentTermRentalPaymentTermDto | nullPayment term applied (at booking, or chosen on acceptance).
RentalPaymentTermDto details
paymentLinkRentalPaymentLinkDto | nullCurrent payment link (
/pay/…page): pass it to the customer if they are not notified by email (API channelnotifyCustomersetting).RentalPaymentLinkDto details
siteIdstring (uuid) | nullSite whose catalogue was used;
nullfor an API booking without a site.vehicleRentalVehicleSummaryDtorequiredRentalVehicleSummaryDto details
periodRentalPeriodDtorequiredRentalPeriodDto details
pickupAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
returnAgencyRentalAgencyRefDto | nullRentalAgencyRefDto details
optionsRentalBookingOptionDto[]requiredRentalBookingOptionDto details
amountsRentalBookingAmountsDtorequiredRentalBookingAmountsDto details
depositRentalDepositStateDto | nullDeposit of the agreement (collected at pick-up);
nullwhile there is no agreement.RentalDepositStateDto details
customerRentalCustomerRefDtorequiredRentalCustomerRefDto details
driverRentalBookingDriverDtorequiredDriver — identity documents and licence:
GET /car-rental/customers/{id}.RentalBookingDriverDto details
reservationRentalDocumentRefDto | nullModule reservation.
RentalDocumentRefDto details
contractRentalDocumentRefDto | nullRental agreement.
RentalDocumentRefDto details
invoiceRentalDocumentRefDto | nullERP invoice (also readable through
GET /sales/invoices/{id}).RentalDocumentRefDto details
documentsRentalBookingDocumentsDtorequiredRentalBookingDocumentsDto details
trackingUrlstring | nullCustomer tracking page on the website (secret link: share it with the customer only).
e.g.https://location.exemple.tn/booking/track/…createdAtstringrequiredupdatedAtstringrequired
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
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.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/car-rental/accounts/me/bookings/aac39e3a-0c40-44b2-8697-b597f357c5a9/cancel' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"reason": "Vol annulé"
}'{
"success": true,
"data": {
"id": "e57a9f43-9182-40aa-8f83-6e46456d347d",
"number": "RES-2026-0042",
"source": "WEBSITE",
"status": "PENDING_PAYMENT",
"statusLabel": "Confirmée",
"paymentMode": "ONLINE",
"paymentStatus": "NONE",
"holdExpiresAt": "2026-10-02T09:15:00.000Z",
"requestExpiresAt": "2026-10-02T09:15:00.000Z",
"acceptedAt": "2026-10-02T09:15:00.000Z",
"paymentTerm": {
"type": "FULL",
"value": 30
},
"paymentLink": {
"id": "83ffc5fd-bdc9-4062-8087-a7ae7c56738d",
"url": "https://portail.quosuite.com/pay/…",
"amount": 287.69,
"paidAmount": 0,
"currency": "TND",
"status": "ACTIVE",
"expiresAt": "2026-10-02T09:15:00.000Z"
},
"siteId": "522e1530-4168-4d3e-8218-3f95e4ab94d9",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"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"
},
"options": [
{
"optionId": "e966bb34-017e-440c-8e00-473dd1ccd625",
"code": "gps",
"label": "GPS",
"quantity": 1,
"perDay": true,
"totalExclTax": 35,
"totalInclTax": 41.65
}
],
"amounts": {
"currency": "TND",
"totalExclTax": 805,
"totalVat": 152.95,
"totalInclTax": 958.95,
"deposit": 500,
"due": 287.69,
"paid": 958.95,
"refunded": 0,
"balanceDue": 0,
"displayCurrency": "EUR",
"displayTotalInclTax": 286.25
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"customer": {
"partnerId": "e85b60de-77d7-4856-8804-216b603b1c25",
"name": "Sami Ben Ali",
"email": "sami@example.tn",
"phone": null
},
"driver": {
"firstName": null,
"lastName": null,
"phone": null,
"flightNumber": "TU 712",
"secondDriverName": null
},
"reservation": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"contract": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"invoice": {
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
},
"documents": {
"voucher": true,
"contract": true,
"invoice": true
},
"trackingUrl": "https://location.exemple.tn/booking/track/…",
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}PDF of one of the signed-in customer’s bookings #
/api/public/v1/quosuite/car-rental/accounts/me/bookings/{id}/documents/{kind}rental_accounts:readgetRentalAccountBookingDocumentvoucher (booking voucher), contract (rental agreement), invoice (invoice) — same rules as GET /car-rental/bookings/{id}/documents/{kind}. Not available yet: 404.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
idstring (uuid)pathrequiredkindstringpathrequiredvouchercontractinvoicelangstringqueryLanguage of the PDF.
frenarX-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/pdf
The PDF.
Binary file (application/pdf).
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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/accounts/me/bookings/aac39e3a-0c40-44b2-8697-b597f357c5a9/documents/0e074211-2c4c-429a-8fcc-60007699d381' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"Try this request
Change the password #
/api/public/v1/quosuite/car-rental/accounts/me/passwordrental_accounts:writechangeRentalAccountPasswordCurrent and new password. All the account’s sessions are closed, this one included: sign the customer in again. Wrong current password: 422 (detail.rule: CURRENT_PASSWORD_INVALID).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Parameters
X-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Request body application/json
currentPasswordstringrequiredmax.length 200newPasswordstringrequiredmax.length 200
Response 200application/json
Success.
okbooleanrequirede.g.true
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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/accounts/me/password' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"currentPassword": "string",
"newPassword": "string"
}'{
"success": true,
"data": {
"ok": true
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Rentals of the logged-in customer #
/api/public/v1/quosuite/car-rental/accounts/me/rentalsrental_accounts:readlistRentalAccountRentalsContracts linked to this customer account and its site only. Agency-wide contracts are never included.
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.frenarX-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
itemsRentalAccountRentalDto[]requiredRentalAccountRentalDto 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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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.
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/accounts/me/rentals' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"id": "6196e5de-7e36-4b64-823c-30df0600fea1",
"number": "CTR-2026-0042",
"kind": "RENTAL",
"status": "DRAFT",
"statusLabel": "En cours",
"reservationId": "117574a2-39a9-4eea-8299-19af7a4c9fa9",
"bookingId": "9142490b-b4a1-471a-84f8-032efe133aed",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"period": {
"startAt": "2026-12-20T09:00:00.000Z",
"endAt": "2026-12-27T09:00:00.000Z",
"days": 7
},
"returnedAt": "2026-10-02T09:15:00.000Z",
"pickupAgencyId": "f1d53061-2a64-4cea-8cfc-7946e7dd1915",
"returnAgencyId": "8b5c7a53-3c1c-4a4e-8df4-1eb05c490f31",
"dailyRate": 100,
"vatRate": 19,
"currency": "TND",
"lines": [
{
"kind": "RENTAL",
"label": "Location 7 jours",
"quantity": 7,
"unitPrice": 100,
"vatRate": 19,
"totalExclTax": 700,
"totalInclTax": 833
}
],
"totals": {
"totalExclTax": 805,
"totalVat": 152.95,
"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": 958.95
},
"mileage": {
"out": null,
"in": null,
"includedKm": null,
"extraKmRate": null,
"extraKm": null,
"extraKmAmount": null
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"invoices": [
{
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
}
],
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
A rental of the logged-in customer #
/api/public/v1/quosuite/car-rental/accounts/me/rentals/{id}rental_accounts:readgetRentalAccountRentalAnother customer’s rental, or a rental in another account realm: 404.
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.frenarX-Rental-SessionstringheaderrequiredCustomer session, returned by
POST /car-rental/accounts/loginor…/register. Missing, expired or closed: 401CUSTOMER_SESSION_INVALID.
Response 200application/json
Success.
idstring (uuid)requirednumberstringrequirede.g.CTR-2026-0042kindstringrequiredvaluesRENTALTRANSFERstatusstringrequiredvaluesDRAFTOPENCLOSEDCANCELLEDstatusLabelstringrequirede.g.En coursreservationIdstring (uuid) | nullbookingIdstring (uuid) | nullvehicleRentalVehicleSummaryDtorequiredRentalVehicleSummaryDto details
periodRentalPeriodDtorequiredRentalPeriodDto details
returnedAtstring | nullRecorded return.
pickupAgencyIdstring (uuid) | nullreturnAgencyIdstring (uuid) | nulldailyRatenumberrequirede.g.100vatRatenumberrequirede.g.19currencystringrequirede.g.TNDlinesRentalContractLineDto[]requiredRentalContractLineDto details
totalsRentalTotalsDtorequiredRentalTotalsDto details
mileageRentalContractMileageDtorequiredRentalContractMileageDto details
depositRentalDepositStateDtorequiredRentalDepositStateDto details
invoicesRentalDocumentRefDto[]requiredERP invoices of the agreement (not cancelled).
RentalDocumentRefDto details
createdAtstringrequiredupdatedAtstringrequired
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.
401CUSTOMER_SESSION_INVALID
Key missing, invalid, revoked or expired. Codes: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED.
Or rental customer session (X-Rental-Session) missing, expired or closed: sign the customer in again.
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/accounts/me/rentals/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "6196e5de-7e36-4b64-823c-30df0600fea1",
"number": "CTR-2026-0042",
"kind": "RENTAL",
"status": "DRAFT",
"statusLabel": "En cours",
"reservationId": "117574a2-39a9-4eea-8299-19af7a4c9fa9",
"bookingId": "9142490b-b4a1-471a-84f8-032efe133aed",
"vehicle": {
"id": "a2ad2669-1a21-406a-8d6d-91e8ed6ff091",
"plate": "245 TU 1234",
"brand": "Peugeot",
"model": "208",
"category": "Citadine",
"fuel": "DIESEL",
"gearbox": "Manuelle",
"seats": 5
},
"period": {
"startAt": "2026-12-20T09:00:00.000Z",
"endAt": "2026-12-27T09:00:00.000Z",
"days": 7
},
"returnedAt": "2026-10-02T09:15:00.000Z",
"pickupAgencyId": "f1d53061-2a64-4cea-8cfc-7946e7dd1915",
"returnAgencyId": "8b5c7a53-3c1c-4a4e-8df4-1eb05c490f31",
"dailyRate": 100,
"vatRate": 19,
"currency": "TND",
"lines": [
{
"kind": "RENTAL",
"label": "Location 7 jours",
"quantity": 7,
"unitPrice": 100,
"vatRate": 19,
"totalExclTax": 700,
"totalInclTax": 833
}
],
"totals": {
"totalExclTax": 805,
"totalVat": 152.95,
"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": 958.95
},
"mileage": {
"out": null,
"in": null,
"includedKm": null,
"extraKmRate": null,
"extraKm": null,
"extraKmAmount": null
},
"deposit": {
"status": "NONE",
"statusLabel": "Détenue",
"amount": 500,
"method": "CASH",
"returned": 0,
"retained": 0
},
"invoices": [
{
"id": "3b0018f9-d0d9-4ee2-89c4-7486bc993345",
"number": "CTR-2026-0042",
"status": "OPEN",
"statusLabel": "En cours"
}
],
"createdAt": "2026-10-02T09:15:00.000Z",
"updatedAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Forgotten password #
/api/public/v1/quosuite/car-rental/accounts/password/forgotrental_accounts:writeforgotRentalAccountPasswordSends the customer, if they have an account, an email with a link valid for 60 minutes to resetUrl (your page, token as a parameter) — or the account site’s page. The response is the same in every case: it does not say whether the address is registered. This email is sent even when the API channel settings turn customer emails off (account security).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Request body application/json
siteIdstring (uuid)Rental site the account belongs to — its accounts are those of the site’s customer area (Website module). Without
siteId: an API channel account, specific to your integrations. One email can have an account in each; they are kept separate.emailstringrequiredmax.length 200e.g.sami@example.tnresetUrlstringYour “new password” page: the emailed link leads there, with
tokenas a parameter (to send back toPOST /car-rental/accounts/password/reset). Mandatory withoutsiteId; with a site, default: the site’s page (/account/reset).e.g.https://location.example.tn/compte/nouveau-mot-de-passelocalestringLanguage of the email.
valuesfrenar
Response 200application/json
Success.
okbooleanrequirede.g.true
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/accounts/password/forgot' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"email": "sami@example.tn"
}'{
"success": true,
"data": {
"ok": true
},
"timestamp": "2026-10-02T09:15:00.000Z"
}New password (link received) #
/api/public/v1/quosuite/car-rental/accounts/password/resetrental_accounts:writeresetRentalAccountPasswordThe token received by your page and the new password. All the account’s sessions are closed: sign the customer in again. Invalid or expired link: 422 (detail.rule: RESET_TOKEN_INVALID).
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Request body application/json
siteIdstring (uuid)Rental site the account belongs to — its accounts are those of the site’s customer area (Website module). Without
siteId: an API channel account, specific to your integrations. One email can have an account in each; they are kept separate.tokenstringrequiredThe
tokenyour page received through the email link.passwordstringrequiredmax.length 200
Response 200application/json
Success.
okbooleanrequirede.g.true
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/accounts/password/reset' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"token": "string",
"password": "string"
}'{
"success": true,
"data": {
"ok": true
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Register a customer #
/api/public/v1/quosuite/car-rental/accounts/registerrental_accounts:writeregisterRentalAccountCreates the customer’s account and signs them in (session). The account is backed by the ERP customer record found by email (created otherwise) — the one bookings, agreements and invoices point to. Address already registered in this realm: 409 CONFLICT (detail.rule: EMAIL_UNAVAILABLE), without saying more.
QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.
Request body application/json
siteIdstring (uuid)Rental site the account belongs to — its accounts are those of the site’s customer area (Website module). Without
siteId: an API channel account, specific to your integrations. One email can have an account in each; they are kept separate.emailstringrequiredmax.length 200e.g.sami@example.tnpasswordstringrequiredmax.length 200e.g.motdepasse-solidefirstNamestringmax.length 120e.g.SamilastNamestringmax.length 120e.g.Ben Aliphonestringmax.length 40e.g.+216 22 000 000acceptsMarketingbooleanAccepts marketing communications.
localestringLanguage of the emails sent to the customer.
valuesfrenar
Response 201application/json
Created.
accountRentalAccountDtorequiredRentalAccountDto details
sessionstringrequiredCustomer session, to send back in the
X-Rental-Sessionheader of the/car-rental/accounts/me…routes. Secret: keep it server-side or in anHttpOnlycookie of your site. Extended on each use.e.g.mJ4w7c2Vt0b…expiresAtstringrequiredSession expiry.
e.g.2026-12-21T09:15:00.000Z
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.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
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/accounts/register' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"email": "sami@example.tn",
"password": "motdepasse-solide"
}'{
"success": true,
"data": {
"account": {
"id": "3107a26c-e555-4d0c-8dec-74a54fb19e45",
"siteId": "6207262f-df38-452a-8101-4368ca632fc1",
"customerId": "16d8b5c8-95d5-4528-8155-fcc18a945bd5",
"email": "sami@example.tn",
"firstName": "Sami",
"lastName": "Ben Ali",
"phone": "+216 22 000 000",
"locale": "fr",
"acceptsMarketing": true,
"driverProfile": {
"birthDate": "1990-04-12",
"drivingLicenseNumber": {},
"drivingLicenseIssuedAt": {},
"drivingLicenseExpiresAt": {},
"identityNumber": {},
"passportNumber": {},
"nationality": {},
"address": {},
"city": {},
"country": {}
},
"createdAt": "2026-11-21T09:15:00.000Z"
},
"session": "mJ4w7c2Vt0b…",
"expiresAt": "2026-12-21T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Generated from the QuoSuite API OpenAPI contract v1.0.0.