查询会员等级变更明细
POST https://qw-openapi-tx.dustess.com/open-integration-api/mall/v1/member/level/change/list?accessToken=
字段 | 值 |
---|---|
Content-Type | application/json |
字段 | 类型 | 描述 | 是否必须 |
---|---|---|---|
accessToken | String | accessToken | true |
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
unionId | String | unionId | 否,3个参数不能同时为空 |
memberId | String | 会员id | 否,3个参数不能同时为空 |
phone | String | 会员手机号 | 否,3个参数不能同时为空 |
{
"unionId": "",
"memberId": "",
"phone": ""
}
参数 | 类型 | 描述 |
---|---|---|
success | Bool | 是否成功 |
code | Int | 状态码 |
msg | String | 状态信息 |
data | Object | 响应内容 |
data.unionId | String | unionId |
data.memberId | String | memberId会员id |
data.telephone | String | 手机号 |
data.data | Object[] | 等级变更列表 |
data.data.afterLevel | Int | 变更后的等级 |
data.data.beforeLevel | Int | 变更前等级 |
data.data.changeReason | String | 变动原因 |
data.data.changeTime | String | 变动时间 |
trace_id | String | 跟踪id |
{
"success": true,
"code": 0,
"msg": "成功",
"data": {
"unionId": "owx_xxxxxx",
"memberId": "owx_yyyyyy",
"telephone": "13677778888",
"data": [{
"afterLevel": 2,
"beforeLevel": 1,
"changeReason": "会员等级增加",
"changeTime": "2022-08-12 15:29:05"
}, {
"afterLevel": 1,
"beforeLevel": 2,
"changeReason": "会员等级降低",
"changeTime": "2022-08-12 15:28:39"
}, {
"afterLevel": 2,
"beforeLevel": 1,
"changeReason": "会员等级增加",
"changeTime": "2022-08-12 15:27:41"
}, {
"afterLevel": 1,
"beforeLevel": 2,
"changeReason": "会员等级降低",
"changeTime": "2022-08-12 15:25:39"
}, {
"afterLevel": 2,
"beforeLevel": 1,
"changeReason": "管理员操作提升等级",
"changeTime": "2022-08-12 15:18:23"
}, {
"afterLevel": 1,
"beforeLevel": 2,
"changeReason": "管理员操作降低等级",
"changeTime": "2022-08-12 15:15:34"
}, {
"afterLevel": 2,
"beforeLevel": 1,
"changeReason": "管理员操作增加成长值",
"changeTime": "2022-07-15 18:08:11"
}, {
"afterLevel": 1,
"beforeLevel": 0,
"changeReason": "满足门槛(需统计历史金额)---\u003e更新用户等级操作",
"changeTime": "2022-05-05 17:11:44"
}]
},
"trace_id": "846ad872-1374-434e-9801-aa61865a1202"
}
{
"success": true,
"code": 80003041,
"msg": "会员不存在",
"data": {
"unionId": "",
"memberId": "",
"telephone": "",
"data": null
},
"trace_id": "4a135185-a148-4542-ad30-7c3cb8116f7b"
}
修改于 5 个月前