Skip to content
v1.0.0 (2026-08-15 18:56)

Update Member Profile API

API Details

  • URL: /client/member/update-profile
  • Method: POST
  • Content-Type: application/json or multipart/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

ParameterRequiredTypeDescription
AuthorizationYesStringBearer Token, obtained via the Member Login API

Request Parameters (JSON / Form Data)

ParameterTypeRequiredDescriptionExample
firstNamestringNoFirst NameJohn
lastNamestringNoLast NameDoe
dateBirthstringNoDate of birth, format YYYY-MM-DD1990-01-01
emailstringNoEmail addressjohn.doe@example.com
ddistringNoMobile phone area code86
mobilestringNoMobile 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"
}