Set user remark name


Set user remark name

1474939454478384.jpg

##Developers can use this interface to Specify the user to set the remark name. This interface is temporarily open to WeChat authenticated service accounts. Interface call request description

http request method: POST (please use https protocol)

https://api.weixin.qq.com/cgi-bin/user/info/ updateremark?access_token=ACCESS_TOKEN

POST data format: JSON

POST data example:

{
"openid":"oDF3iY9ffA-hqb2vVvbr7qxf6A0Q",
"remark":"pangzi"
}

Parameter description

ParameterDescription
access_tokenCall interface credentials
openidUser ID
remarkNew remark name, the length must be less than 30 characters

Return instructions Normal return JSON data packet example:

{

"errcode":0,

"errmsg":"ok"
}

JSON data packet example when error occurs (this example is invalid AppID error):

{"errcode":40013,"errmsg":"invalid appid"}