Get Channel Product

From KartRocket API
Jump to: navigation, search

Get Channel Product

Request

User can get all Channel Products by making a HTTP GET Request on the following URL.


YOUR_STORE_URL_ON_KARTROCKET.'index.php?route=feed/web_api/channelproducts&key='.WEB_API_KEY. 
'&channel_id='.CHANNEL_ID.'&kartrocket_product_id='.KARTROCKET_PRODUCT_ID.'&channel_product_sku='.CHANNEL_PRODUCT_SKU.'&page='.PAGE_NO;

Example

e.g.; http://api.kartrocket.co/index.php?route=feed/web_api/ channelproducts &key=API&channel_id=4&kartrocket_product_id=139&channel_product_sku=AZZID0001&page=1;

Response

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

[
   {
      "channel_product_id":"16",
      "channel_id":"4",
      "channel_name":"SnapDeal",
      "kartrocket_product_id":"511",
      "kartrocket_product_sku":"ID00373",
      "channel_product_sku":"PSE140",
      "channel_price":"1089.0000",
      "status":"1",
      "quantity":"28",
      "price":"345.0000",
      "option_quanity":null,
      "option_price":null,
      "option_sku":null,
      "date_added":"2014-10-24 16:56:55",
      "date_modified":"2014-10-24 16:56:55"
   }
]


Parameters Description

key : API Key provided by KartRocket.(Required)

Filters

channel_id : Channel Id at KartRocket.(Required)

kartrocket_product_id : Kartrocket Product ID. (Optional)

channel_product_sku : Product SKU or ID or Unique value at channel's system. (Optional)