修改会员详情
POST
/open/v1/crm/updateCustomerInfo(下行接口)合作方修改会员基本信息
请求参数
Body 参数application/json
birthday
integer
生日(时间戳)
sex
integer
必需
性别(-1:未知;0:女;1:男;)
name
string
顾客名
environmentHobby
string
兴趣爱好
memo
string
备注
invoiceTitle
string
发票抬头
email
string
电子邮箱
address
string
地址
groupId
string
顾客分组
customerId
integer
必需
顾客ID,传0表示为创建会员
consumePwd
string
必需
消费密码(6位整数或者MD5加密)
示例
{
"customerId": 888234234,
"consumePwd": "047ea2107743674078d60a939d5b1da2",
"birthday": 888234234,
"sex": 1,
"name": "李华",
"environmentHobby": "喜欢安静",
"memo": "",
"invoiceTitle": "",
"email": "aaa@qq.com",
"address": "",
"groupId": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
result
可选
返回响应数据,json对象或数组,可空
One of
message
string
返回信息
messageUuid
string
消息uuid
示例
{
"code": 1,
"result": {
"brandId": 6339,
"commercialId": 89877,
"customerId": 800000095,
"customerMainId": 800000095,
"userId": -777,
"source": 16,
"loginType": 0,
"loginId": "18980808088",
"birthday": 1475116492,
"sex": 1,
"name": "李华",
"environmentHobby": "喜欢安静",
"memo": "",
"invoiceTitle": "",
"email": "adsad@asd.com",
"address": "",
"groupId": "",
"wxIconUrl": "",
"isDisable": 1
}
}
修改于 3 年前