Update customer email address
PATCH/customers/:customerId/emails/:id
Update a customer's email address.
Request
Path Parameters
id uuidrequired
customerId uuidrequired
- application/json
Body
required
email string
verified booleannullable
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
customerId uuidrequired
email stringrequired
verified booleannullablerequired
createdAt date-timerequired
updatedAt date-timerequired
createdBy stringrequired
updatedBy stringrequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"email": "string",
"verified": true,
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"updatedBy": "string"
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...