Remove From cart
Request Parameters:
For cart update like update the quantity:
URL: ../Api/Client/RemoveFromCart
Header:
Content-Type:application/json
Required Parameters :
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"",
"LanguageId":"1",
"ItemIds":""
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Incorrect Parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"1",
"LanguageId":"1",
"ItemIds":"50"
}
Response :
{
"Status": 0,
"Message": "Custmerid and itemid does not match",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"1",
"LanguageId":"1",
"ItemIds":"12,13"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": "Item remove successfully"
},
"ValidationMessage": [],
"ErrorMessage": null
}