Log in

From KartRocket API
Jump to: navigation, search

Request

User can Get Login making a HTTP GET Request on the following URL:


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

Example

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

Following is the JSON data format to be posted on above URL.


{
     "email":"test@gmail.com", #Required
     "password":"demo",
     }

Response

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

{
    "success":true,
    "customer": {
    "customer_id": "60",
    "firstname": "test",
    "lastname":"test",
    "email": "test@gmail.com",
    "telephone": "123456789",
    "mobile": "1234567890",
    "status": "1",
    "date_added": "2016-11-16 07:12:14",
    "date_last_action": "0000-00-00 00:00:00"
}
}