PUT Marketing/ModifyPromotedItem
Request Information
URI Parameters
None.
Body Parameters
PromotedItemBinding| Name | Description | Type | Additional 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
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>