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. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

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