Add contact information for a customer.
POST/customers/:customerId/contact-information
Add contact information for a customer.
Request
Path Parameters
customerId uuidrequired
- application/json
Body
required
information objectrequired
email email
phone string
Possible values: >= 4 characters
twitter string
discord string
telegram string
softDeletedBy stringnullable
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
customerId uuidrequired
information objectrequired
email email
phone string
Possible values: >= 4 characters
twitter string
discord string
telegram string
createdAt date-timerequired
updatedAt date-timerequired
createdBy stringrequired
updatedBy stringrequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"information": {
"email": "user@example.com",
"phone": "string",
"twitter": "string",
"discord": "string",
"telegram": "string"
},
"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...