Get list of orders
Method: GET

HTTP Request

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

Note: Limit: 30 request / 1 minute

Query Parameters

The parameters are passed into HTTP Request according to Key-Value pairs, begin the parameters with the sign “?” and separate the parameters with the sign “&”. Ex:
1
https://api.accesstrade.vn/v1/orders?since=2021-01-01T00:00:00Z&until=2021-01-10T00:00:00Z
Copied!
Parameters
Required
Description
since
Required
Time the report begins, according to ISO format, example “2019-08-01T00:00:00Z”
until
Required
Time the report ends, according to ISO format, example “2019-08-01T00:00:00Z”
utm_source
Optional
Ex: facebook
utm_campaign
Optional
utm_medium
Optional
Ex: email
utm_content
Optional
page
Optional
Page order
limit
Optional
Limit of return orders
status
Optional
Conversion status, 0: Pending or hold, 1: Approved, 2: Rejected
is_confirmed
Optional
Transaction status: 0 - not approved, 1 - approved (If it has the parameter is_confirmed
merchant
Optional
Example: adayroi, lazada

Example (Using Postman tool to call API)

RESPONSE
1
{
2
"data": [
3
{
4
"at_product_link": "",
5
"billing": 0,
6
"browser": "Other",
7
"category_name": "",
8
"click_time": "2021-01-01T00:00:00",
9
"client_platform": "pc",
10
"confirmed_time": "2021-01-21T14:32:06.813000",
11
"conversion_platform": "",
12
"customer_type": "",
13
"is_confirmed": 0,
14
"landing_page": "http://accesstrade.vn/",
15
"merchant": "msb_ekyc",
16
"order_id": "ce4ac5417428b0c96866546e0016fafa",
17
"order_pending": 1,
18
"order_reject": 0,
19
"order_success": 0,
20
"order_uid": "",
21
"product_category": "msb",
22
"products": [
23
{
24
"_at": {
25
"banner_id": 10440,
26
"commission_type": 1,
27
"goods_id": "msb",
28
"result_id": 30,
29
"reward_type": 1,
30
"seq_no": 60428023,
31
"vn_click_id": ""
32
},
33
"_extra": {
34
"browser": "Other",
35
"device": "None Other",
36
"device_brand": null,
37
"device_family": "Other",
38
"device_model": null,
39
"device_type": "pc",
40
"os": "Other",
41
"parameters": {}
42
},
43
"amount": 0,
44
"campaign_id": "1123",
45
"click_time": "2021-01-01T00:00:00",
46
"confirmed_time": "2021-01-21T14:32:06.813000",
47
"merchant": "msb_ekyc",
48
"product_id": "msb",
49
"product_price": 0.0,
50
"product_quantity": 1,
51
"pub_commission": 69300.0,
52
"reason_rejected": "",
53
"sales_time": "2021-01-01T00:00:00",
54
"status": 0
55
}
56
],
57
"products_count": 1,
58
"pub_commission": 69300.0,
59
"sales_time": "2021-01-01T00:00:00",
60
"total_commission": 0,
61
"utm_campaign": "",
62
"utm_content": "",
63
"utm_medium": "",
64
"utm_source": "",
65
"website": "accesstrade.vn",
66
"website_url": "http://accesstrade.vn/"
67
}
68
],
69
"total": 1,
70
"total_page": 1.0
71
}
Copied!
Copy link
Contents