PUT Marketing/ModifyUnpromotedItem
Request Information
URI Parameters
None.
Body Parameters
UnpromotedItemBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Disabled | date |
None. |
|
| ValidFrom | date |
None. |
|
| Expiration | date |
None. |
|
| PromotionID | 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,
"Disabled": "2025-12-06T05:41:49.1905739+01:00",
"ValidFrom": "2025-12-06T05:41:49.1905739+01:00",
"Expiration": "2025-12-06T05:41:49.1905739+01:00",
"PromotionID": 3,
"PromotionableTypeID": 4,
"PromotionableID": 5,
"IncludeDescendants": true,
"Lang": "sample string 7",
"StoreID": 8
}
application/xml, text/xml
Sample:
<UnpromotedItemBinding 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 7</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">8</StoreID> <Disabled>2025-12-06T05:41:49.1905739+01:00</Disabled> <Expiration>2025-12-06T05:41:49.1905739+01:00</Expiration> <IncludeDescendants>true</IncludeDescendants> <PromotionID>3</PromotionID> <PromotionableID>5</PromotionableID> <PromotionableTypeID>4</PromotionableTypeID> <ValidFrom>2025-12-06T05:41:49.1905739+01:00</ValidFrom> <ID>1</ID> </UnpromotedItemBinding>
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>