Retrieve a single customer by ID
GET/customers/:id
Retrieve a single customer by ID
Request
Path Parameters
id stringrequired
Responses
- 200
- 404
Successfully retrieved the customer
- application/json
- Schema
- Example (from schema)
Schema
id uuid
name string
email string
password string
created_at date-time
updated_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"email": "string",
"password": "string",
"created_at": "2024-03-23T09:23:32.880Z",
"updated_at": "2024-03-23T09:23:32.880Z"
}
Customer not found
- application/json
- Schema
- Example (from schema)
Schema
id uuid
name string
email string
password string
created_at date-time
updated_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"email": "string",
"password": "string",
"created_at": "2024-03-23T09:23:32.880Z",
"updated_at": "2024-03-23T09:23:32.880Z"
}
Loading...