Customers
About the Customer API
Endpoints
The Customer object
{
"id": "5f886c22fe5dd800318f8092",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phoneNumber": "+19545556666",
"createdTime": "2022-08-18T01:10:16.000Z",
}Create a customer
Create a customer.
The first name of the customer.
JohnThe last name of the customer.
DoeThe phone number of the customer.
+123456789The customer was created successfully.
A unique identifier for the customer.
5f886c22fe5dd800318f809jThe first name of the customer.
JohnThe last name of the customer.
DoeThe phone number of the customer.
+123456789The date and time the customer was created in ISO format.
2022-08-16T22:06:24.024ZBad request.
Unauthorized.
List customers
Retrieves a list of customers that matches the criteria.
Only customers with this email will be returned.
[email protected]The limit of items per page in the response.
20Example: 10Specify the page to retrieve. You will need to use it if you want to retrieve specific pages.
1Example: 1Results that match the criteria.
The number of matching criteria from the result.
1Bad request.
Unauthorized.
Retrieve a customer
Retrieve a customer by its ID.
A unique identifier for the customer.
507f191e810c19729de860jkThe customer was retrieved successfully.
A unique identifier for the customer.
5f886c22fe5dd800318f809jThe first name of the customer.
JohnThe last name of the customer.
DoeThe phone number of the customer.
+123456789The date and time the customer was created in ISO format.
2022-08-16T22:06:24.024ZUnauthorized.
Not found.
Last updated
Was this helpful?