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)

top_products.png

RESPONSE

Last updated

Was this helpful?