Skip to main content

Update Member Information

1. Update Member Information

API Path

  • POST
  • /api/member/update

Request Parameters

ParameterNameTypeRequiredDescription
agent_idMerchant IDstringRequiredMerchant ID
user_idMerchant User IDstringRequiredMerchant User ID, Only English, numbers, and _
user_nameMerchant User NamestringRequiredMerchant User Name, Only English, numbers, and _
descDescriptionstringOptionalUser Description, Only English, numbers, spaces, and _
timestampCurrent TimestampintRequiredThe timestamp when calling the API (in milliseconds, valid for ten minutes)
signSignaturestringRequiredSee API documentation for signature algorithm

Response Parameters

ParameterNameTypeDescription
codeResponse CodeintError Code
messageResponse MessagestringError Message

Request Example

curl --location 'https://staging.aig1234.com/api/member/update' \
--header 'Content-Type: application/json' \
--data '{
"agent_id": "agent001",
"user_id": "testUid03",
"user_name": "username",
"desc": "a test user",
"timestamp": 1732589849000,
"sign": "018ca8a9285603cb15ca0b427a61827c"
}'

Response Example

{
"code": 200,
"message": "success",
"data": {}
}

Error Codes

200 Success
408000 Request Parameter Error
408003 Whitelist Restriction
408004 API Rate Limit
600100 Invalid Signature
700101 Merchant Not Found
700103 Member Not Found