DELETE Orders/RemoveOrder
Cancels an open or confirmed order. Customer needs to be logged in for cancelling confirmed orders.
Request Information
URI Parameters
None.
Body Parameters
OrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| Token | globally unique identifier |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"Token": "ab9670f4-f694-462b-a257-ca125788d370",
"Lang": "sample string 3",
"StoreID": 4
}
application/xml, text/xml
Sample:
<OrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 3</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">4</StoreID> <OrderID>1</OrderID> <Token>ab9670f4-f694-462b-a257-ca125788d370</Token> </OrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.