DELETE Orders/RemoveCoupon

Removes a Coupon from the order

Request Information

URI Parameters

None.

Body Parameters

RemoveCouponBinding
NameDescriptionTypeAdditional 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": "2f45750b-0f79-4e4f-b4bf-fc08f8cd392d",
  "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">2f45750b-0f79-4e4f-b4bf-fc08f8cd392d</Token>
  <Code>sample string 1</Code>
</RemoveCouponBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.