Update Customer

Update customer related information

Update

POST https://mapi.yuansfer.com/v1/customers/update

Request Body

NameTypeDescription

customerNo

string

The auto-generated user's ID in Yuansfer System when registered

lang

string

Language customer speak

timestamp

string

Current UTC time, correct format should be "yyyy-mm-ddTHH:MM:SSZ"

merchantNo

string

Merchant ID

storeNo

string

Store ID

verifySign

string

The parameter signature

city

string

The user's city

company

string

The company name

country

string

The user's country

countryCode

string

The user's country code

customerCode

string

The user-defined user's ID in Yuansfer's system when registered

dateOfBirth

string

The user's date of birth

email

string

The user's email address

firstName

string

The user's first name

lastName

string

The user's last name

mobileNumber

string

The user's cell phone number

phone

string

The user's phone number

state

string

The user's state

street

string

The user's street address

street2

string

The user's address, second line

zip

string

The user's zip code

{
    "result":
    {
        "firstName": "Frank",
        "lastName": "Liu",
        "link": "https://mapi.yuansfer.yunkeguan.com/v1/customers/user-account/2010305228244865166344",
        "customerCode": "20210409194802",
        "accountToken": "2010305228244865166344",
        "customerNo": "2000305228244865163960",
        "email": "ldf2104091949@example.com",
        "timestamp": "2021-04-09T20:28:12Z"
    },
    "ret_msg": "success",
    "ret_code": "000100"
}

Response

Parameter

Type

Description

ret_msg

string

The response return message.

ret_code

string

The response return code. For more details, see here.

Last updated