This endpoint cancels an order, indicating that the customer no longer wants the product that was initially ordered.Payload authenticated
#
Response#
Usage#
The cancel()
method receives the id of the order to be cancelled when the developer simply calls it.Events#
This endpoint may trigger two events, the onCanceled and onNotCanceled events.onCanceled#
This event is triggered when cancelling an order process is done without having any errors coming back from the backend.onNotCanceled#
This event is triggered when cancelling an order process is not completed and an error has occurred. Modified at 2024-02-18 12:54:03