API reference

HTS APIs

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

Schema

driver_details

Details of the primary driver for the booking.

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
{
  "email": "john.doe@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "date_of_birth": "1990-05-20",
  "phone": "+18339334671"
}