Top selling products

Method: GET

HTTP Request

https://api.accesstrade.vn/v1/top_products

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:

https://api.accesstrade.vn/v1/top_products?date_from=01-07-2020&date_to=20-07-2020

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

{
    "data": [
        {
            "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",
            "brand": "",
            "category_id": "",
            "category_name": "Sports & Outdoors",
            "desc": null,
            "discount": 2869795.0,
            "image": "https://images-na.ssl-images-amazon.com/images/I/81259FdCzzL.jpg",
            "link": "https://fado.vn/us/amazon/razor-turbo-jetts-electric-heel-wheels-red-B076WVGLXS.html?m=AGYUU318PHJM6",
            "name": "Razor Turbo Jetts Electric Heel Wheels - Red",
            "price": 2869795.0,
            "product_category": "FADOTREN2000000",
            "product_id": "B076WVGLXS",
            "short_desc": null
        }
    ],
    "total": 1
}

Last updated