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
OrderRequestName | 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": "62214251-e64e-4f06-9936-2122e9813688", "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>62214251-e64e-4f06-9936-2122e9813688</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.