This endpoint removes an item from the customer's shopping cart. The customer may remove an item by clicking on the "remove from to cart" button.Payload#
Response#
Usage#
To perform the action of removing an item from the cart, the developer may call the method deleteItem
along with the id of the item that will be removed from the cart.Events#
This endpoint may trigger two events, the onItemDeleted and onItemDeletedFailed events.onItemDeleted#
This event is triggered when removing an item from the cart is done without having any errors coming back from the backend.onItemDeletedFailed#
This event is triggered when removing an item from the cart is not completed and an error has occurred. For example, the id of the product to be added to the cart was not found, or there is no product with such an id currently in the cart. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20