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#
The id of the product that will be removed from the cart.
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. Modified at 2024-02-18 08:32:29