v1.0.0 (2026-08-15 18:56)
Update Member Profile API
API Details
- URL:
/client/member/update-profile - Method:
POST - Content-Type:
application/jsonormultipart/form-data - Authentication: Bearer Token (A valid
Authorization: Bearer <token>must be passed in the Header)
Updates the profile information of the currently logged-in member, including first name, last name, date of birth, email, mobile DDI, and mobile number.
Headers
| Parameter | Required | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Bearer Token, obtained via the Member Login API |
Request Parameters (JSON / Form Data)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
firstName | string | No | First Name | John |
lastName | string | No | Last Name | Doe |
dateBirth | string | No | Date of birth, format YYYY-MM-DD | 1990-01-01 |
email | string | No | Email address | john.doe@example.com |
ddi | string | No | Mobile phone area code | 86 |
mobile | string | No | Mobile number (without area code) | 13800138000 |
Response Examples
Success Response
json
{
"code": 0,
"data": "success",
"msg": "Operation successful"
}Failure Responses
Parameter Error
json
{
"code": 7,
"data": {},
"msg": "Parameter error"
}Unauthorized or Invalid Token
json
{
"code": 7,
"data": {},
"msg": "Verification failed: unauthorized"
}Update Failed
json
{
"code": 7,
"data": {},
"msg": "Update failed"
}