API Call Address
{域名地址}/api/retailer/statistics
Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/retailer/statistics
Calling method
GET
Request parameters
None
Return parameters
| Field name | Type | Description | 
|---|---|---|
| code | int | error code | 
| msg | string | error reason description | 
| data | object | result content | 
data parameter
| Field name | Type | Description | 
|---|---|---|
| can_withdraw_amount | int | Available Withdrawal Commission | 
| paid_withdraw_amount | int | commissions_withdrawn | 
| unfinished_withdraw_amount | int | unsettled_commissions | 
| member_count | int | team_size | 
request data example
None
Return Data Example
{
  "code": 0,
  "data": {
    "can_withdraw_amount": 10000,
    "member_count": 10,
    "paid_withdraw_amount": 0,
    "unfinished_withdraw_amount": 0
  },
  "msg": ""
}
Error Code
| error code | Description | 
|---|---|
| 0 | OK | 
| -1 | Error, the reason is indicated in the msg | 
| 1001 | Not logged in | 
| 1002 | Unauthorized | 
| 200 | API request OK |