Canceling an Order
- 
You can use it to cancel the order. It takes
OrderIdandCancelReasonas parameters.CancelReasoncan be left blank. If the current status of the order is closed, the errorThe status of the order is not suitable for processingis received. - 
The request should be sent with the
POSTmethod. 
Parameters
Request Header Parameters
| Parameter | Description | Type | 
|---|---|---|
| x-api-key | API key of your account | string | 
| x-api-secret | API Secret key of your account | string | 
| x-api-consumer | Integrator restaurant/company name | string | 
Required Parameters
| Parameter | Description | Type | 
|---|---|---|
| OrderId | Order Number | int | 
| CancelReason | Reason for Cancellation | string | 
Example Request
curl -X POST https://ext.adisyo.com/api/External/v2/CancelExample Response
{
  "Status": 100,
  "Message": "İşlem Başarılı"
}