PUT
/
corporate
/
customers
/
{customerId}
/
directors
/
{directorId}
Update Corporate Customer Director
curl --request PUT \
  --url https://waas-staging.embedly.ng/api/v1/corporate/customers/{customerId}/directors/{directorId} \
  --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
The unique identifier of a corporate customer. Example: 123456
directorId
string
required
The unique identifier mapped to a corporate customer’s director. Example: 01234567-0001
firstName
string
The first name of the individual. Example: John
lastName
string
The last name of the individual. Example: Doe
middleName
string
The middle name of the individual. Example: Michael
email
string
The individual’s email address. Example: john.doe@example.com
phoneNumber
string
The individual’s phone number. Example: 08012345678
dateOfBirth
string
The individual’s date of birth in YYYY-MM-DD format. Example: 1980-01-01
address
string
The residential address of the individual. Example: 12 Adeola Odeku Street, Victoria Island, Lagos
bvn
string
The Bank Verification Number (BVN) of the individual. Example: 12345678901
nin
string
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": [],
}