请输入
菜单

会员排行

营业额


接口说明

该接口用于查询会员排行数据,每隔30分钟更新一次数据,非实时;

注意事项

基本信息

名称 描述
HTTP URL https://open.shengyi.pro/store_overview/v1/vip_ranking
HTTP Method GET

请求参数

请求头

content-type 必填 string
示例:application/json
固定值:application/json


参数

appid 必填 string
示例:10000000000
应用唯一标识,可以从众流生意app中的开放平台中获取


client_token 必填 string
示例:laOVEe3aNYY*****
用户授权令牌


paginate_type 必填 int
示例:3
固定值:3


current_page 必填 int
示例:1
当前页


per_page 必填 int
示例:30
每页数,最大为100


store_id 必填 string
示例:xxxxxxxxxxxxxxxxxxxxxx
店铺id


create_time_start 必填 string
示例:2024-12-12
开始时间,可视化时间传参,精确到天,与结束时间相差不能超过31天,该时间为订单的清算时间,并非订单的完成时间,当您向众流工作人员申请分时结算后,清算时间和完成时间会存在时间差


create_time_start 必填 string
示例:2024-12-12
结束时间,可视化时间传参,精确到天,与开始时间相差不能超过31天,该时间为订单的清算时间,并非订单的完成时间,当您向众流工作人员申请分时结算后,清算时间和完成时间会存在时间差


sort_field 必填 string
示例:customer_num
排序字段,可以使用所有返回的结果集数据进行排序


sort_type 必填 string
示例:asc
排序类型,asc或者desc


请求示例

shell 复制代码
curl --location --request GET 'https://open.shenyi.pro/store_overview/v1/vip_ranking?client_token=laOVEe3aNYY*****&create_time_start=2024-12-12&create_time_end=2024-12-12 \
--header 'Content-Type: application/json' \

响应参数

参数

code int
示例:200
请求响应


message string
示例:请求成功
请求响应



data struct

store_id string
示例:xxxxxxxxxxxxxxxxxxxxx
店铺id


vip_id string
示例:xxxxxxxxxxxxxxxxxxxxx
会员id


customer_num int
示例:1
客单数


goods_customer_num int
示例:1
商品客单数,当订单中有商品信息则为商品客单数


desk_customer_num int
示例:1
台桌客单数,当订单中有台桌信息则为台桌客单数


artist_customer_num int
示例:1
助教客单数,当订单中有台桌信息则为助教客单数


vip_top_up_num ing
示例:1
会员充值单数


card_top_up_num ing
示例:1
卡片充值单数,不包括卡片发行,判定依据是根据订单是否登录了会员,若登录则归属至该会员


money_turnover float
示例:100
营业额,单位:元


money_vip_top_up float
示例:100
会员充值金额,单位:元


money_card_top_up float
示例:100
会员充值金额,单位:元,不包括卡片发行,判定依据是根据订单是否登录了会员,若登录则归属至该会员


money_vip_consumption float
示例:100
会员消费金额,单位:元,仅指订单中使用会员支付的部分,包括本金+赠金


money_vip_consumption_recharge float
示例:100
会员消费本金,单位:元,仅指订单中使用会员本金支付的部分,仅包括本金


money_vip_consumption_give float
示例:100
会员消费赠金,单位:元,仅指订单中使用会员赠金支付的部分,仅包括赠金


money_cash float
示例:100
现金支付,单位:元,判定依据是根据订单是否登录了会员,若登录则归属至该会员


money_polymerization float
示例:100
聚合支付,单位:元,判定依据是根据订单是否登录了会员,若登录则归属至该会员


money_group_buying float
示例:100
团购支付,单位:元,包括美团,抖音,自营套餐,判定依据是根据订单是否登录了会员,若登录则归属至该会员


money_goods float
示例:100
商品金额,单位:元


num_goods float
示例:100
商品数量


money_desk float
示例:100
台桌金额,单位:元


time_desk float
示例:100
台桌时长,单位:分钟


money_artist float
示例:100
助教金额,单位:元


time_artist float
示例:100
助教时长,单位:分钟


响应示例

json 复制代码
{
    "requestId": "5e340fb91e1e3b44e8ad4f471c083954",
    "code": 200,
    "message": "请求成功",
    "data": {}
}
上一个
助教上课时长排行
下一个
店铺
最近修改: 2025-06-26Powered by