Official Web API : Remove Product from cart API

7 个月 前
hi,
im using the offial web api from napTeam, i used this api
api-frontend/ShoppingCart/AddProductToCartFromCatalog/

to add items/ products to cart , but i could not find the api for removing item from cart ,
thanks
7 个月 前
Hi. To remove products from the cart, you can use the api-frontend/ShoppingCart/UpdateCart method. This method accepts a dictionary in which you can set the key "removefromcart" for which you can specify the identifiers of the records you want to delete, separated by commas
7 个月 前
thanks a lot ,
is there any documentation for the API other than the swagger ?
from the swagger its not obvious what the update params are
7 个月 前
Unfortunately, we don’t have documentation for the plugin, only the basic points described here.
The source codes can serve as your main source of knowledge and understanding. We try to write our code as clearly and simply as possible. We add comments where necessary.