Skip to content

推广订单详情(支持购物车订单返回多条记录)

拥有此API的权限集
推广员管理-查询

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.distributor.order.get/2.0.0
  • 频率限制: 10秒500次

接口调试

请求参数
响应结果
暂无响应数据

请求参数

参数名必选类型说明
access_tokenstring专属token
order_idstring订单id

请求示例

 {
    "access_token": "xe_xxxxx",
    "order_id": "xxxxx"
  }

返回参数

参数名类型说明
codeint返回码
msgstring返回信息
dataarray返回值
返回数据data
参数名类型说明
order_atstring下单时间
purchase_namestring商品名称
priceint实付金额(单位:分)
statusint结算状态:1-已结算,0-未结算
distributorobject直接分佣人信息
superiorobject间接分佣人信息,无间接分佣时为空值

直接分佣人信息distributor& 间接分佣人superior

参数名类型说明
user_idstring用户ID
wx_nicknamestring昵称
wx_avatarstring头像
levelint推广员等级:1-普通 ,2-高级,3-超级
phonestring手机号
distribute_percentstring分佣比例
distribute_priceint分佣金额

返回示例

{
    "code": 0,
    "msg": "success",
    "data": [
        {
            "distributor": {
                "distribute_percent": "30.0000",
                "distribute_price": 1,
                "level": 5,
                "phone": "136xxxx7543",
                "user_id": "u_60890cc72be68_X6IquHXzII",
                "wx_avatar": "http://wechatavator-1252524126.file.myqcloud.com/appAKLWLitn7978/image/compress/u_60890cc72be68_X6IquHXzII.png",
                "wx_nickname": "Ling_现网蓝悦名字很长很长很长很长很长很长很长很长很长"
            },
            "order_at": "2022-02-11 22:41:39",
            "price": 4,
            "purchase_name": "专栏-推广订单",
            "status": 1,
            "superior": {
                "distribute_percent": "30.0000",
                "distribute_price": 1,
                "level": 3,
                "phone": "188xxxx0943",
                "user_id": "u_xxxxxxxxx_M69a1lwsGM",
                "wx_avatar": "http://littleclockproduct-1252524126.file.myqcloud.com/appAKLWLitn7978/image/compress/aDVwZXJzb25hbGNlbnRlci1hbGl2ZWg1LXVfNWJlMDI3YjQ2OTNjNF9NNjlhMWx3c0dNLTJNaEwzYjFI.jpeg",
                "wx_nickname": "minzzi"
            }
        }
    ]
}