Set user remark name
Set user remark name
##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_TOKENPOST data format: JSON
"openid":"oDF3iY9ffA-hqb2vVvbr7qxf6A0Q",
"remark":"pangzi"
}
}
POST data example:
{"openid":"oDF3iY9ffA-hqb2vVvbr7qxf6A0Q",
"remark":"pangzi"
}
Parameter description
Parameter | Description |
access_token | Call interface credentials |
openid | User ID |
remark | New 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"}