简要描述:
请求域名:
请求URL:
POST/route=survey.survey.member-view
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"total_trade": "1156009.20",
"new_member_trade": 0,
"old_member_trade": "1156009.20",
"total_order": 3376,
"new_member_order": 0,
"old_member_order": "3376",
"total_recharge": "4662986733.06",
"new_member_recharge": 0,
"old_member_recharge": "4662986733.06",
"member_level": [
{
"level_name": "普通会员12",
"member_count": 4356
},
{
"level_name": "会员等级会员等级会员等级",
"member_count": 9
},
{
"level_name": "黑铁会员",
"member_count": 6
},
{
"level_name": "青铜会员",
"member_count": 5
}
],
"gender": [
{
"name": "男性",
"value": 114
},
{
"name": "女性",
"value": 48
},
{
"name": "未知",
"value": 3285
}
],
"member_structure": [
{
"member_type": 1,
"name": "微信公众号会员",
"value": 158
},
{
"member_type": 2,
"name": "微信小程序会员",
"value": 293
},
{
"member_type": 3,
"name": "APP会员",
"value": 0
},
{
"member_type": 4,
"name": "微信开放平台会员",
"value": 424
},
{
"member_type": 5,
"name": "手机绑定会员",
"value": 2819
}
],
"age_turnover": {
"x_axis": [
"18岁以下",
"18岁-26岁",
"27岁-35岁",
"36岁-45岁",
"46岁以上"
],
"series": [
"188830.79",
"70539.57",
"240486.49",
0,
0
]
}
}
}
错误时返回:
{
"result": 0,
"msg": "获取失败"
}
返回参数说明:
参数名 |
类型 |
说明 |
total_trade |
float |
总交易额 |
new_member_trade |
float |
新会员交易额 |
old_member_trade |
float |
老会员交易额 |
total_recharge |
float |
充值金额 |
new_member_recharge |
float |
新会员充值金额 |
old_member_recharge |
float |
老会员充值金额 |
total_order |
int |
交易订单 |
new_member_order |
int |
新会员交易订单 |
old_member_order |
int |
老会员交易订单 |
member_level |
array |
会员等级情况 |
gender |
array |
性别占比信息 |
member_structure |
array |
会员结构分部 |
age_turnover |
obj |
年龄分别与消费金额 |
member_level返回参数说明:
参数名 |
类型 |
说明 |
level_name |
string |
等级名称 |
member_count |
int |
会员数量 |
gender返回参数说明:
参数名 |
类型 |
说明 |
name |
string |
性别 |
value |
int |
会员数量 |
member_structure返回参数说明:
参数名 |
类型 |
说明 |
name |
string |
会员端名称 |
value |
int |
会员数量 |
age_turnover返回参数说明:
参数名 |
类型 |
说明 |
x_axis |
array |
X轴 |
series |
array |
Y轴 |
备注:
可以按日期搜索的数据都用单独接口获取