customers
Use the customers
endpoint when building customer management features. For example, add a modal where where booksellers enter new customer details.
Request
To call the customers
endpoint, enter curl -X GET {server_url}:{port}/customers
with your server and port.
Response
The following sections contain an example response and property definitions.
Response Example
{
"id": "8zsx",
"last_name": "Jones",
"first_name": "Jenny",
"telephone": 7187451673,
"email": "jjones@proton.me"
}
Response Properties
Property | Type | Description |
---|---|---|
id |
integer | Indicates the customer’s unique identifier. |
last_name |
integer | Indicates the customer’s last name. |
first_name |
integer | Indicates the customer’s last name. |
telephone |
number | Indicates the customer’s phone number. |
email |
integer | Indicates the customer’s email address. |
Methods
The customers
endpoint supports the following methods: