latestOpenAPI 3.1.02026-08-10390815.4 KB

e5f3dccae7ca

Cars

Car constants

This endpoint returns a list of relevant car constants names in the specified languages. For example, calling with the parameters {"languages":"en-us","fr"} will return the list in English (US) and French. To retrieve the full list, make the request with an empty body.

post/cars/constants

Headers

X-Affiliate-Idinteger required

Include here your Affiliate identifier number

Request body

constantsstring[]

A list of car rental constant types to filter the results by. This allows you to narrow down the result based on particular criteria, such as fuel_policy, payment_timings etc.

languagesstring[]

Example request

{
  "languages": [
    "en-us"
  ]
}

Response

Successful response.

request_idstring

Uniquely identifies the request. Please provide this identifier when contacting support.