Skip to main content
POST
/
v1
/
customers
Create a customer
curl --request POST \
  --url http://localhost:3000/api/v1/customers \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "dateOfBirth": "2023-12-25",
  "gender": "<string>",
  "identityType": "<string>",
  "identityNumber": "<string>",
  "address": {
    "street": "<string>",
    "unit": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postalCode": "<string>",
    "country": "<string>"
  }
}
'

Body

application/json
firstName
string
required
lastName
string
required
email
string
required
phone
string
dateOfBirth
string<date>
gender
string
identityType
string
identityNumber
string
address
object

Response

Customer created