更新用户信息

POST https://webapi.kf5.com/kchat/message

请求参数:

{
	"action":"update_visitor",
	"user":{
		"name":"小刘",
		"openid":"e4d8c2abfc783e0b8f0d7b4eb93812e5",
		"metadata":[
			{
				"name":"联系地址",
				"value":"四川省成都市锦江区东大街时代1号"
			},
			{
				"name":"正在查看商品",
				"value":"智能手机 http://www.yourdomain.com/goods/123.html"
			}
		]
	}}

接口响应示例:

{
	"error_code": 0,
	"message": "请求成功"
}