Developers
Reference · Car rental

Agencies

List agencies #

GET/api/public/v1/quosuite/car-rental/agencies
Scope : rental:readlistRentalAgencies

Pick-up and return points: address, contacts, opening hours. Archived agencies excluded unless archived=true.

QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • archivedbooleanquery

    Include archived agencies (default: no).

Response 200application/json

Success.

  • itemsRentalAgencyDto[]required
    RentalAgencyDto 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.

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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/agencies' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "95c1c6ae-081a-40a6-8113-62ab2534bb75",
        "code": "TUN",
        "name": "Tunis Centre",
        "address": null,
        "city": null,
        "postalCode": null,
        "country": null,
        "phone": null,
        "mobile": null,
        "email": null,
        "openingHours": "Lun–sam 8h–19h, dim 9h–13h",
        "vehicleCount": 14,
        "archived": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Get an agency #

GET/api/public/v1/quosuite/car-rental/agencies/{id}
Scope : rental:readgetRentalAgency

QuoRent keys (qsr_): accepted — same scopes; payments:write reads as rental_payments:write.

Parameters

  • idstring (uuid)pathrequired
  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • codestringrequired
    e.g.TUN
  • namestringrequired
    e.g.Tunis Centre
  • addressstring | null
  • citystring | null
  • postalCodestring | null
  • countrystring | null
  • phonestring | null
  • mobilestring | null
  • emailstring | null
  • openingHoursstring | null

    Opening hours (text entered by the agency).

    e.g.Lun–sam 8h–19h, dim 9h–13h
  • vehicleCountnumberrequired

    Rentable vehicles assigned (shared vehicles excluded).

    e.g.14
  • archivedbooleanrequired
  • updatedAtstringrequired

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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/car-rental/agencies/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "95c1c6ae-081a-40a6-8113-62ab2534bb75",
    "code": "TUN",
    "name": "Tunis Centre",
    "address": null,
    "city": null,
    "postalCode": null,
    "country": null,
    "phone": null,
    "mobile": null,
    "email": null,
    "openingHours": "Lun–sam 8h–19h, dim 9h–13h",
    "vehicleCount": 14,
    "archived": true,
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Generated from the QuoSuite API OpenAPI contract v1.0.0.