Search Products

From KartRocket API
Jump to: navigation, search

Get Product Search

Request

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


YOUR_STORE_URL_ON_KARTROCKET.'index.php?route=feed/web_api/search_all_products&filter_name=YOUR SEARCH KEYWORD&key'=APITEST

Example

http://test.kartrocket.co/index.php?route=feed/web_api/search_all_products&filter_name=YOUR SEARCH KEYWORD&key=APITEST


Response

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

{
     "success":true,
      "search_data": [
                     {                   
                      "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",
                      "rating":0,
                      "reviews":"text_reviews",
                      "status":"1",
                      }
                      ]
}



Parameters Description

Filter Name : API Key provided by KartRocket.