Get promotion statistic
GET/api/affiliate/order/stat
Get promotion statistic
Request
Path Parameters
needStatClicks stringrequired
true: Statistic clicks history, false: None
needStatEarnedHistory stringrequired
true: Statistic earned history, false: None
needStatOrder stringrequired
true: Statistic order history, false: None
Responses
- 200
- 401
- 403
- 404
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
data
object
Affiliate用户的推广统计信息
clickCountHistories
object[]
最近20天的点击量统计
count int32
统计数
statDate date-time
日期
clickCountOfToday int32
今天的点击量
earnedAmountHistories
object[]
最近20天的成交金额(按每天统计)
amount bigdecimal
统计金额
statDate date-time
日期
earnedAmountOfToday bigdecimal
今天的成交金额
minWithdrawalAmount bigdecimal
最少提款额
orderCountHistories
object[]
最近20天的订单成交量(按每天统计
count int32
统计数
statDate date-time
日期
orderCountOfToday int32
今天的成交订单量
percentageOfClickPerDay float
今天与昨天的点击量提升比例
percentageOfClickPerWeek float
这周与上周的点击量提升比例
totalClicks int32
总的点击量
totalEarnedAmount bigdecimal
红人累计总收益(总额)
totalOrderCount int32
总订单成交量
totalPendingAmount bigdecimal
红人累计在途收益
totalWithdrawableAmount bigdecimal
红人累计可提现收益
message string
params object[]
requestId string
status int32
{
"data": {
"clickCountHistories": [
{
"count": 0,
"statDate": "2024-05-05T03:24:21.761Z"
}
],
"clickCountOfToday": 0,
"earnedAmountHistories": [
{
"amount": 0,
"statDate": "2024-05-05T03:24:21.761Z"
}
],
"earnedAmountOfToday": 0,
"minWithdrawalAmount": 0,
"orderCountHistories": [
{
"count": 0,
"statDate": "2024-05-05T03:24:21.761Z"
}
],
"orderCountOfToday": 0,
"percentageOfClickPerDay": 0,
"percentageOfClickPerWeek": 0,
"totalClicks": 0,
"totalEarnedAmount": 0,
"totalOrderCount": 0,
"totalPendingAmount": 0,
"totalWithdrawableAmount": 0
},
"message": "string",
"params": [
{}
],
"requestId": "string",
"status": 0
}
Unauthorized
Forbidden
Not Found
Loading...