GET /fleets/locations returns the active locations with their IDs, address, opening hours and is_airport.GET /fleets/vehicle-classes returns the vehicle classes; send only_available_on_website=1 to get only the ones the rental company sells online.GET /fleets/additional-charges returns the extras, insurance and fees.Accept: application/vnd.api.v2+json; without it this path returns 404.| Parameter | Meaning |
|---|---|
pick_up_date, return_date | Required. YYYY-MM-DD HH:mm, in the API user's time zone. The return must be after the pick-up. |
pick_up_location_id, return_location_id | Required. Active location IDs. The pick-up location decides the branch, and so the prices. |
rate_code | Optional. Price with this rate type, for example a rate agreed for your channel. It must exist. |
customer_id | Optional. Apply the prices of this customer. |
language | Optional. Language of the class descriptions. |
data has one item per active vehicle class shown on the website that has a rate for those dates.status: available or unavailable.unavailable when no unit is free or the season does not allow a rental of that length.vehicle_class_id, name, sippCode, description, seats, bags, doors.total_price_with_mandatory_charges_and_taxes: the price to show, as a Money object (see Dates, time zones and money).price.total_days, price.base_price and the daily breakdown in price.details.security_deposit, distance_limits, age_ranges, charges_for_age_limits and the charges for pick-up or return outside opening hours.rate_type: the rate type used, with its code and the extras it includes.POST /car-rental/reservations/additional-charges with the same dates as separate fields (pick_up_date, pick_up_time, return_date, return_time), pick_up_location, return_location, vehicle_class_id, the selected additional_charges, customer_age or customer_birthdate, and the same rate_code you searched with, if any.data.total holds the total, the amount due and the security deposit.| Parameter | Meaning |
|---|---|
ota_reservation_type | Your channel name, stored in lowercase. |
ota_reservation_id | Your booking reference. It is stored only together with ota_reservation_type. |
validate_duplicated_ota_reservation_id | 1 refuses the booking when any reservation, from any channel, already has the same ota_reservation_id. |
customer_first_name, customer_last_name, customer_email, ... | The customer. A contact with the same first name, last name and email is reused; otherwise a new one is created. |
rate_code | The rate type to price with, as in the search. |
prepaid_amount, prepaid_payment_method | What the customer already paid you, recorded as a payment (method Cash by default). |
comments[] | Notes for the rental company, such as a flight number or special requests. |
skip_confirmation_email | 1 when you send your own confirmation, so HQ does not email the customer. |
data.reservation.id, the HQ reservation ID, next to your reference.Idempotency-Key.GET /car-rental/reservations/{reservation_id} returns the reservation with its status, customer, drivers, assigned vehicle, charges and totals.POST /car-rental/reservations/{reservation_id}/update with only the values that change, for example new dates (pick_up_date with pick_up_time, return_date with return_time), locations, vehicle class or extras.additional_charges replaces the whole selection of extras; mandatory charges are added back.additional_drivers, every additional driver is removed; send their full list to keep them.POST /car-rental/reservations/{reservation_id}/comments and comment.POST /car-rental/reservations/{reservation_id}/cancelled cancels the booking.Updated and the filter ota_reservation_type:equal:acme, so that you receive only your bookings (see Webhooks)."success": false; read errors.error_message.errors (see Errors).Idempotency-Key.validate_duplicated_ota_reservation_id=1 and a reservation with that ota_reservation_id already exists.