AccessTrade.vn
  • TÀI LIỆU API HƯỚNG DẪN PUBLISHER
  • API DÀNH CHO PUBLISHER BẢN TIẾNG VIỆT
    • Authentication
    • Lấy danh sách campaigns
    • Tạo tracking link
    • Lấy danh sách giao dịch
    • Lấy danh sách đơn hàng v2
    • Lấy thông tin sản phẩm của đơn hàng
    • Lấy thông tin chi tiết sản phẩm
    • Lấy thông tin datafeeds
    • Lấy thông tin vouchers / coupons / deals
      • Hướng dẫn lấy mã nhúng danh sách khuyến mãi lên website
      • [Wordpress] Hướng dẫn nhúng vào bài post
      • [Wordpress] Hướng dẫn tạo 1 trang riêng nhúng code
      • API - Lấy danh sách thông tin khuyến mại theo nhà cung cấp & ngành hàng.
    • Lấy thông tin các khuyến mại đang hoạt động
    • Top các sản phẩm bán chạy nhất
    • Errors
  • API PUBLISHER ENGLISH VERSION
    • Authentication
    • Get the campaigns list
    • Create tracking link
    • Get the list of commission ratio of campaign
    • Get the list of transaction
    • Get the list of order v2
    • Get products information of the order
    • Get detailed information of the product
    • Get Datafeeds information
    • Get promotional information
    • Top selling products
    • Errors
    • Get detailed information of the order
Powered by GitBook
On this page

Was this helpful?

  1. API PUBLISHER ENGLISH VERSION

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
}

PreviousGet promotional informationNextErrors

Last updated 4 years ago

Was this helpful?

top_products.png