Top selling products
Method: GET

HTTP Request

1
https://api.accesstrade.vn/v1/top_products
Copied!
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/top_products?date_from=01-07-2020&date_to=20-07-2020
Copied!

Query parameters

Parameters
Required
Description
date_from
Optional
Filter begin date, ex: ‘01-04-2016’
date_to
Optional
Filter end date, ex: ‘01-01-2019’
merchant
Optional
Partner, ex: lazada

Describe results

Value
Description
category_id
Id of product category
category_name
Name of product category
desc
Description of product
image
Image of product
link
Product link
aff_link
Affiliate link
price
Price of product before discount
discount
The amount of discount
total
Total amount of product
name
Name of product
product_id
Product ID

Example (Use Postman tool to call API)

RESPONSE
1
{
2
"data": [
3
{
4
"aff_link": "https://go.isclix.com/deep_link/4348611760548105593?url=https%3A%2F%2Ffado.vn%2Fus%2Famazon%2Frazor-turbo-jetts-electric-heel-wheels-red-B076WVGLXS.html%3Fm%3DAGYUU318PHJM6",
5
"brand": "",
6
"category_id": "",
7
"category_name": "Sports & Outdoors",
8
"desc": null,
9
"discount": 2869795.0,
10
"image": "https://images-na.ssl-images-amazon.com/images/I/81259FdCzzL.jpg",
11
"link": "https://fado.vn/us/amazon/razor-turbo-jetts-electric-heel-wheels-red-B076WVGLXS.html?m=AGYUU318PHJM6",
12
"name": "Razor Turbo Jetts Electric Heel Wheels - Red",
13
"price": 2869795.0,
14
"product_category": "FADOTREN2000000",
15
"product_id": "B076WVGLXS",
16
"short_desc": null
17
}
18
],
19
"total": 1
20
}
Copied!
Copy link
Contents