Cancel order

Cancel an order when a new order is created or in received status.

CancelOrder

POST /Api/Customer/CancelOrder

Request Body

{
    "Errors": [],
    "ErrorMessage": ""
}

Example

{
    "ErrorCode": "0",
    "IsError": false,
    "Errors": [],
    "ErrorMessage": ""
}

Errors Code

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.