DELETE Orders/RemoveCoupon
Removes a Coupon from the order
Request Information
URI Parameters
None.
Body Parameters
RemoveCouponBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| OrderID | integer |
None. |
|
| Token | globally unique identifier |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"OrderID": 2,
"Token": "2bb0b29d-a78b-47bb-99b8-28250b8e58eb",
"Lang": "sample string 4",
"StoreID": 5
}
application/xml, text/xml
Sample:
<RemoveCouponBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Order"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 4</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">5</StoreID> <OrderID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">2</OrderID> <Token xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">2bb0b29d-a78b-47bb-99b8-28250b8e58eb</Token> <Code>sample string 1</Code> </RemoveCouponBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.