API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

book_request

Request body for finalizing a car rental order.

Fields

request_id
string · uuid
required

Unique identifier of the specific request. Use this identifier when you need to refer to a specific request, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
book_token
string
required

Opaque token generated at quote time to initiate a book request.

Example book_12345
partner_reference_id
string
required

An client determined id for the given booking for potential reconciliation.

Example 123e4567-e89b-12d3-a456-426614174000
driver
object
required

Details of the primary driver for the booking.

Show fields
email
string · email
required

The email address of the primary driver.

Example john.doe@example.com
first_name
string
required

The first name of the primary driver.

Example John
last_name
string
required

The last name of the primary driver.

Example Doe
date_of_birth
string · date
required

The date of birth of the primary driver in ISO 8601 format. The driver age must match the age provided in the shop request.

Example 1990-05-20
phone
string

Phone number of the driver.

Pattern ^\+?[0-9]{7,15}$ · Example +18339334671
Example
{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "book_token": "book_12345",
  "partner_reference_id": "123e4567-e89b-12d3-a456-426614174000",
  "driver": {
    "email": "john.doe@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "date_of_birth": "1990-05-20",
    "phone": "+18339334671"
  }
}