POST
/
corporate
/
customers
/
{customerId}
/
directors
Add Director to Corporate Customer
curl --request POST \
  --url https://waas-staging.embedly.ng/api/v1/corporate/customers/{customerId}/directors \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "middleName": "<string>",
  "email": "<string>",
  "phoneNumber": "<string>",
  "dateOfBirth": "<string>",
  "address": "<string>",
  "bvn": "<string>",
  "nin": "<string>",
  "meterNumber": "<string>"
}'
{
    "statuscode": "00",
    "message": "Customer successfully profiled",
    "data": {
      "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    }
    "errors": [],
}

Request Parameters

customerId
string
required
Thr uniqe identifier of the corporate customer to whom the director is to be added. Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
firstName
string
required
The first name of the individual. Example: John
lastName
string
required
The last name of the individual. Example: Doe
middleName
string
The middle name of the individual. Example: Michael
email
string
required
The individual’s email address. Example: john.doe@example.com
phoneNumber
string
required
The individual’s phone number. Example: 08012345678
dateOfBirth
string
required
The individual’s date of birth in YYYY-MM-DD format. Example: 1980-01-01
address
string
required
The residential address of the individual. Example: 12 Adeola Odeku Street, Victoria Island, Lagos
bvn
string
required
The Bank Verification Number (BVN) of the individual. Example: 12345678901
nin
string
required
The National Identification Number (NIN) of the individual. Example: 12345678901
meterNumber
string
The individual’s electricity meter number, if applicable. Example: 1234567890
{
    "statuscode": "00",
    "message": "Customer successfully profiled",
    "data": {
      "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    }
    "errors": [],
}