Best Seller

From KartRocket API
Jump to: navigation, search

Get Best Seller Product

Request

User can get Best Seller Product information by making a HTTP GET Request on the following URL:


YOUR_STORE_URL_ON_KARTROCKET.'index.php?route=feed/web_api/best_sellers&key'=TESTAPI

Example

http://test.kartrocket.co/index.php?route=feed/web_api/best_sellers&key=TESTAPI

Response

You will get the following response to the above GET request.

{
        "success":true,
                     "bestseller": [
                     {                     
                     "product_id": "8",
                      "model":"P8",
                      "SKU":"P8",
                      "name":"Product 8",
                      "thumb":"http://res.cloudinary.com/kartrocket/image/fetch/w_300,q_80,h_500,c_pad,b_white,f_auto,fl_progressive/http%3A%2F%2Fkartrocket-
                                 mtp.s3.amazonaws.com%2Fall-stores%2Fimage_anchal%2Fdata%2Fnew8.jpg",                                                 
                      "zoom_thumb": "http://kartrocket-mtp.s3.amazonaws.com/all-stores/image_anchal/data/new8.jpg",
                      "description":"This is a Test Product..",
                      "price":"Rs.1,000",
                      "special":"Rs.750",
                      "tax":false,
                      "quantity":"0",
                      "status":"1"
                                
			}
}				      ]