Cancel an order when a new order is created or in received status.
POST /Api/Customer/CancelOrder
POST
/Api/Customer/CancelOrder
{ "Errors": [], "ErrorMessage": "" }
{ "ErrorCode": "0", "IsError": false, "Errors": [], "ErrorMessage": "" }
6: Exception.
12: Customer account is invalid.
13: Order not found.
14: Order status is invalid.
15: OrderCode is null or empty.
16: Order is invalid.
OrderCode*
string
Order code