Update Customer
Updates an existing registered customer profile for the authenticated account.
**Authentication:**
- **REQUIRED**: Basic Auth only.
**Query Parameters:**
- `customer_id` (required): Customer identifier returned by `registerCustomer`.
**Request Body:**
- Provide one or more updatable sender fields.
- `name_first` and `name_last` are immutable and cannot be updated.
**Response:**
- Returns updated flat sender profile with `customer_id` and timestamps.
**Field code references:**
- `ic_type` must be one of the supported identification document type codes: `NIC`, `PP`, `WEP`.
- `occupation` must be one of the supported occupation codes: `OCC1` through `OCC11`.
Query parameters
customer_id
Required: customer_id returned by registerCustomer
Request
This endpoint expects an object.
email
phone
occupation
address
Response
OK
customer_id
name_first
name_last
gender
ic_number
ic_type
ic_country
occupation
country_of_residence
phone
email
nationality
dob
address
ic_expiry_date
created_at
updated_at
Errors
400
Bad Request Error

