Customers Controller

Create customer

Create a new customer

post/customers

Request body

customerEmailstring required

Customer email address

Example request

{
  "customerEmail": "customer@example.com"
}

Response

Customer created successfully

idnumber required

Customer ID

customerEmailstring required

Customer email address

emailValidboolean required

Whether the email is valid

emailValidationStatusstring required

Email validation status (UNKNOWN, VALID, INVALID)

Example response

{
  "id": 1,
  "customerEmail": "customer@example.com",
  "emailValidationStatus": "UNKNOWN"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.