POST PlaceOrder/CancelOrders?Terminal={Terminal}
Lets the POS know that the order is to be Cancelled
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| Terminal | string |
Body Parameters
CancelApiOrderCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| ApiOrderId | integer |
None. |
|
| CancelReason | string |
None. |
|
| Terminal | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApiOrderId": 1,
"CancelReason": "sample string 2",
"Terminal": "sample string 3"
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIUpdateResultModel| Name | Type | Description | Additional information |
|---|---|---|---|
| ApiOrderId | integer |
None. |
|
| Updated | boolean |
None. |
|
| Message | string |
None. |
|
| CollectionNumber | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ApiOrderId": 1,
"Updated": true,
"Message": "sample string 3",
"CollectionNumber": 1
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument