Cancel order
POST/v1/order/:order_id/cancel
Endpoint to change the state of an order to cancelled, and void the invoice. An order cannot change state to cancelled after being fulfilled. After fulfilment the merchant will have to refund the order instead.
Request
Responses
- 200
- 202
- default
Cancellation succeeded
Already cancelled
Error response