Remove Product Cart

From KartRocket API
Jump to: navigation, search

Request

User can Remove Product Cart making a HTTP GET Request on the following URL:


YOUR_STORE_URL_ON_KARTROCKET.'index.php?route=checkout/cart/removeProAPI&key'=TESTAPI

Example

http://test.kartrocket.co/index.php?route=checkout/cart/removeProAPI&key=TESTAPI

Following is the JSON data format to be posted on above URL with POST request as key => value format. Here key is " remproapi" and value is "JSON data" as following.

   remproapi :{"product":1}

Response

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

{
    "success":true,
    "msg":"Removed Successfully"
}