DELETE Marketing/RemovePromotedItem

Removes an existing PromotedItem.

Request Information

URI Parameters

None.

Body Parameters

PromotedItemBinding
NameDescriptionTypeAdditional information
ID

integer

None.

PromotionItemID

integer

None.

PromotionableTypeID

Defines the set of Products base of this exclusion. The set can be defined at the Store, Classification or Product level

integer

None.

PromotionableID

integer

None.

IncludeDescendants

Includes PromotionableEntity descendants

boolean

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PromotionItemID": 2,
  "PromotionableTypeID": 3,
  "PromotionableID": 4,
  "IncludeDescendants": true,
  "Lang": "sample string 6",
  "StoreID": 7
}

application/xml, text/xml

Sample:
<PromotedItemBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Marketing">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID>
  <IncludeDescendants>true</IncludeDescendants>
  <PromotionItemID>2</PromotionItemID>
  <PromotionableID>4</PromotionableID>
  <PromotionableTypeID>3</PromotionableTypeID>
  <ID>1</ID>
</PromotedItemBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.