Get the list of commission ratio of campaign
Method: GET

HTTP Request

1
https://api.accesstrade.vn/v1/commission_policies
Copied!

Query Parameters

The parameters passed into HTTP Request according to Key-Value pair, begin the parameters with “?” and separate each parameter with the sign “&”. Ex:
1
https://api.accesstrade.vn/v1/commission_policies?camp_id=5338806296999499238&month=01-2021
Copied!
Parameters
Required
Description
camp_id
Required
Id of campaign (URL detail campaign)
month
Optional
Month the regulation is in operation

Describe the results

Parameters
Description
category.category_id
Category Id
category.sales_price
Value of sales being split (fixed) per each successful conversion.
category.sales_ratio
The ratio of the split for the value of each sales for every successful conversion.
category.taget_month
Active month(s).
product.category_id
Product Id
product.sales_price
Value of sales being split (fixed) per each successful conversion
product.sales_ratio
The ratio of the split for the value of each sales for every successful conversion.
product.taget_month
Active month(s)
default.result_id
Default commission types: 1 - Fixed price. 3 - Split according to each product. 30 - Split according to each category.
default.reward_type
Method of calculating commission: 1 - Calculating default price. 2 - Calculating ration per value of order.
default.sales_price
Value of sales being split (fixed) per each successful conversion.
default.sales_ratio
The ratio of the split for the value of each sales for every successful conversion.
default.taget_month
Active month(s)
category.category_id
Category Id
category.sales_price
Value of sales being split (fixed) per each successful conversion.
category.sales_ratio
The ratio of the split for the value of each sales for every successful conversion.
category.customer_type
Type of customer. Example: new user/ old user, app user/ web user

Example (Using Postman tool to call API)

1
{
2
"category": [
3
{
4
"category_id": "Tren 10",
5
"category_name": null,
6
"customer_type": null,
7
"sales_price": 200000.0,
8
"sales_ratio": 0.0,
9
"taget_month": "01/2021"
10
},
11
{
12
"category_id": "Tu 1-4",
13
"category_name": null,
14
"customer_type": null,
15
"sales_price": 160000.0,
16
"sales_ratio": 0.0,
17
"taget_month": "01/2021"
18
},
19
{
20
"category_id": "Tu 5-9",
21
"category_name": null,
22
"customer_type": null,
23
"sales_price": 175000.0,
24
"sales_ratio": 0.0,
25
"taget_month": "01/2021"
26
},
27
{
28
"category_id": "cat_129739_rank6",
29
"category_name": null,
30
"customer_type": null,
31
"sales_price": 200000.0,
32
"sales_ratio": 0.0,
33
"taget_month": "01/2021"
34
},
35
{
36
"category_id": "cat_3982_rank6",
37
"category_name": null,
38
"customer_type": null,
39
"sales_price": 200000.0,
40
"sales_ratio": 0.0,
41
"taget_month": "01/2021"
42
}
43
],
44
"default": [
45
{
46
"customer_type": null,
47
"result_id": 30,
48
"reward_type": 1,
49
"sales_price": 160000.0,
50
"sales_ratio": 0.0,
51
"taget_month": "01/2021"
52
}
53
],
54
"product": []
55
}
Copied!
Copy link
Contents