POST
/
customers
/
add
curl --request POST \
  --url https://waas-staging.cafeone.ng/api/v1/customers/add \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "Id": "<string>",
  "organizationId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "middleName": "<string>",
  "dob": "<string>",
  "customerTypeId": "<string>",
  "alias": "<string>",
  "countryId": "<string>",
  "city": "<string>",
  "address": "<string>",
  "mobileNumber": "<string>",
  "emailAddress": "<string>",
  "dateCreated": "<string>"
}'
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "firstName": "string",
  "lastName": "string",
  "middleName": "string",
  "dob": "2025-03-26T09:51:54.017Z",
  "customerTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "alias": "string",
  "countryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "city": "string",
  "address": "string",
  "mobileNumber": "string",
  "emailAddress": "string",
  "dateCreated": "2025-03-26T09:51:54.017Z"
}

Id
string

Example: ‘3fa85f64-5717-4562-b3fc-2c963f66afa6’

organizationId
string

Example: ‘3fa85f64-5717-4562-b3fc-2c963f66afa6’

firstName
string
required

Example: Sam

lastName
string
required

Example: Luke

middleName
string

Example: James

dob
string
required

YYYY-MM-DDTHH:mm:ss.sssZ format. Example: 2025-03-26T09:51:54.017Z

customerTypeId
string
required

Example: ‘3fa85f64-5717-4562-b3fc-2c963f66afa6’

alias
string
required
countryId
string
required

Example: ‘3fa85f64-5717-4562-b3fc-2c963f66afa6’

city
string
required
address
string
required
mobileNumber
string
required
emailAddress
string
required

Example: user@example.com

dateCreated
string

YYYY-MM-DDTHH:mm:ss.sssZ format. Example: 2025-03-26T09:51:54.017Z

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "firstName": "string",
  "lastName": "string",
  "middleName": "string",
  "dob": "2025-03-26T09:51:54.017Z",
  "customerTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "alias": "string",
  "countryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "city": "string",
  "address": "string",
  "mobileNumber": "string",
  "emailAddress": "string",
  "dateCreated": "2025-03-26T09:51:54.017Z"
}