This endpoint is used when the customer removes an added reward from the live cart. In some cases, customers may need to remove a prize after adding it to the live cart.The reset endpoint has been implemented in the Loyalty Web Component, , and It's all setup to save developer's time and effort. Response#
Usage#
To perform the action of removing an added reward from the live cart, the method reset()
may be called as below, with the id of the order to be rated.Events#
This endpoint may trigger two events, the onResetSucceeded and onResetFailed events.onResetSucceeded#
This event is triggered when the action of removing an added reward from the live cart is done without having any errors coming back from the backend.onResetFailed#
This event is triggered when the action of removing an added reward from the live cart is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

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