Name Remarks
Back

From WeChat Official Account Admin Platform
Jump to: navigation, search

Set name remarks for specified users via this API. At present, this API is open to authenticated service accounts.

Request Description

HTTP request method: POST (using HTTPS protocol)
https://api.wechat.com/cgi-bin/user/info/updateremark?access_token=ACCESS_TOKEN
POST data format: JSON
Example: 
{
   "openid":"oDF3iY9ffA-hqb2vVvbr7qxf6A0Q",
   "remark":"pangzi"
}

Parameter Description

Parameter Description
access_token Access token providing authorization to calling the this API
openid OpenID of user for the official account
remark New name remark, less than 30 characters.

Return Description

An example of a successful JSON response is as follows:

{
    "errcode":0,
    "errmsg":"ok" 
}

An example of an unsuccessful JSON response (caused by an invalid AppID) is as follows:

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

Return Codes

Developer Guide
Custom-defined Menu
WeChat JS-SDK