put https://wassdev.idbanc.com/customers/
This endpoint update details of a specific customer
Path Parameter
Parameter | Type | Description |
---|---|---|
customerId | string | The ID of the customer to update. |
Request Body
The request body should include the following parameters for updating the customer's details:
Parameter | Type | Description |
---|---|---|
firstName | string | Updated first name of the customer. |
lastName | string | Updated last name of the customer. |
string | Updated email address of the customer. | |
phone | object | Updated phone information of the customer. |
- phoneCountryCode | string | Updated country code of the phone number. |
- phoneNumber | string | Updated phone number of the customer. |
dob | string | Updated date of birth of the customer (format: "dd-mm-yyyy"). |
address | object | Updated address information of the customer. |
- street | string | Updated street address of the customer. |
- street2 | string | Updated additional street address of the customer. |
- city | string | Updated city of the customer's address. |
- state | string | Updated state of the customer's address. |
- country | string | Updated country of the customer's address. |
- postalCode | string | Updated postal code of the customer's address. |
bvnNumber | string | Updated bank Verification Number of the customer. |
photo | string | Updated URL to the customer's photo. |
identity | object | Updated identity information of the customer. |
- type | string | Updated type of identity document (e.g., "vnin"). |
- number | string | Updated identity document number. |
- country | string | Updated country issuing the identity document. |
- image | string | Updated URL to the identity document image. |