Appearance
推广订单详情(支持购物车订单返回多条记录)
| 拥有此API的权限集 |
|---|
| 推广员管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.distributor.order.get/2.0.0 - 频率限制:
10秒500次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| order_id | 是 | string | 订单id |
请求示例
{
"access_token": "xe_xxxxx",
"order_id": "xxxxx"
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 返回信息 |
| data | array | 返回值 |
返回数据data
| 参数名 | 类型 | 说明 |
|---|---|---|
| order_at | string | 下单时间 |
| purchase_name | string | 商品名称 |
| price | int | 实付金额(单位:分) |
| status | int | 结算状态:1-已结算,0-未结算 |
| distributor | object | 直接分佣人信息 |
| superior | object | 间接分佣人信息,无间接分佣时为空值 |
直接分佣人信息distributor& 间接分佣人superior
| 参数名 | 类型 | 说明 |
|---|---|---|
| user_id | string | 用户ID |
| wx_nickname | string | 昵称 |
| wx_avatar | string | 头像 |
| level | int | 推广员等级:1-普通 ,2-高级,3-超级 |
| phone | string | 手机号 |
| distribute_percent | string | 分佣比例 |
| distribute_price | int | 分佣金额 |
返回示例
{
"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"
}
}
]
}