discardOrder
@Delete(value = "{id}")
Handles DELETE orders/{id}.
Cancels/discards an order if it is still in a cancellable state.
Response mapping:
200 OKwhen order is discarded successfully404 Not Foundwhen order does not exist400 Bad Requestwhen order cannot be canceled
Return
An HTTP response representing the discard result.
Parameters
id
Request containing order identifiers.