Remove From Wishlist
Request Parameters:
URL: ../Api/Client/RemoveFromWishList
Header:
Content-Type:application/json
Required Parameters :
Note :
- RemoveFromWishList is for removing items from cart, use comma (‘,’) to remove multiple items from WishList
- ItemIds - is the id of cart items id and Quantity is new quantity
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":"12"
}
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":"15"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": "Item remove successfully"
},
"ValidationMessage": [],
"ErrorMessage": null
}