Update cart
Request Parameters:
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/UpdateCart
Parameter:
{
"apiSecretKey": "k117x118z122r116t100e100r118j122",
"storeId": "1",
"customerId": "1",
"currencyId":"1",
"languageId":"1",
"itemId":"1027",
"newQuantity":"2"
}
Note: Here new quantity is replaced with old quantity.
Response:
{
"UpdateCartResult":
{
"Id": 0,
"Message": "Item update successfully",
"CheckoutAttributeInfo": null,
"CheckoutAttributes": null,
"DiscountBox": null,
"DisplayTaxShippingInfo": false,
"GiftCardBox": null,
"IsApplied": false,
"IsEditable": false,
"Items": null,
"MinOrderSubtotalWarning": null,
"OnePageCheckoutEnabled": false,
"OrderReviewData": null,
"ShowProductImages": false,
"ShowSku": false,
"TermsOfServiceOnOrderConfirmPage": false,
"TermsOfServiceOnShoppingCartPage": false,
"Warnings": null
}
}