Skip to main content
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>",
  "discoCode": "<string>"
}
'
{
  "code": "00",
  "success": true,
  "message": "Updated Successfully",
  "data": null
}

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: [email protected]
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
discoCode
string
Disco Code must be one of ABUJA, EKO, IKEJA, IBADAN, ENUGU, PH, JOS, KADUNA, KANO, BH, PROTOGY, PHISBOND, ACCESSPOWER, YOLA, ABIA, ADAMAWA, AKWA IBOM, ANAMBRA, BAUCHI, BAYELSA, BENUE, BORNO, CROSS RIVER, DELTA, EBONYI, EDO, EKITI, GOMBE, IMO, JIGAWA, KATSINA, KEBBI, KOGI, KWARA, LAGOS, NASSARAWA, NIGER, OGUN, ONDO, OSUN, OYO, PLATEAU, RIVERS, SOKOTO, TARABA, YOBE, ZAMFARA, FCT
{
  "code": "00",
  "success": true,
  "message": "Updated Successfully",
  "data": null
}