Customers
About the Customer API
The EverTransit Customer API allows you to create a new customer, list customers from a given email, and retrieve the details of a particular customer by its ID. To make your requests, you can use the endpoints and their methods listed below.
Endpoints
The Customer object
Attributes
Name | Type | Description |
---|---|---|
firstName | string | The first name of the customer. |
lastName | string | The last name of the customer. |
string | The email of the customer. | |
id | string | A unique identifier for the customer. |
phoneNumber | string | The phone number of the customer. |
createdTime | string | The date and time the customer was created in ISO format. |
hits | array | Information about the ride that matches the search criteria. For example, the ID, passengers, status, destination, service level, rider, driver, etc. |
totalHits | number | The number of matching criteria from the search result. |
Create a customer
Create a customer.
Create a customer.
The data to create the customer.
The email of the customer.
"jhon@mail.com"
The first name of the customer.
"John"
The last name of the customer.
"Doe"
The phone number of the customer.
"+123456789"
The customer was created successfully.
A unique identifier for the customer.
"5f886c22fe5dd800318f809j"
The email of the customer.
"john@mail.com"
The first name of the customer.
"John"
The last name of the customer.
"Doe"
The phone number of the customer.
"+123456789"
The date and time the customer was created in ISO format.
"2022-08-16T22:06:24.024Z"
API playground for creating a customer
List customers
List customers.
Retrieves a list of customers that matches the criteria.
Results that match the criteria.
An array of objects with the information about the customer that matches the criteria.
The number of matching criteria from the result.
1
API playground for listing customers
Retrieve a customer
Retrieve a customer.
Retrieve a customer by its ID.
A unique identifier for the customer.
"507f191e810c19729de860jk"
The customer was retrieved successfully.
A unique identifier for the customer.
"5f886c22fe5dd800318f809j"
The email of the customer.
"john@mail.com"
The first name of the customer.
"John"
The last name of the customer.
"Doe"
The phone number of the customer.
"+123456789"
The date and time the customer was created in ISO format.
"2022-08-16T22:06:24.024Z"
Last updated