A coupon is a code can be removed by customers, this will revert any added discounted price or limited offer on the cart's items. This remove endpoint is used for this purpose.Response#
cart.removeCoupon.success
Usage#
To perform the action of removing a coupon to the cart's items, the developer may call the remove()
as shown below.Events#
This endpoint may trigger two events, the onCouponDeleted and onCouponDeletionFailed events.onCouponDeleted#
This event is triggered when removing coupon from the cart's items is done without having any errors coming back from the backend.onCouponDeletionFailed#
This event is triggered when removing coupon from the cart's items is not completed and an error has occurred. Modified at 2024-02-19 07:31:42