Canceling an Order
-
You can use it to cancel the order. It takes
OrderId
andCancelReason
as parameters.CancelReason
can be left blank. If the current status of the order is closed, the errorThe status of the order is not suitable for processing
is received. -
The request should be sent with the
POST
method.
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/Cancel
Example Response
{
"Status": 100,
"Message": "İşlem Başarılı"
}