POST Marketing/AddUnpromotedItem
Request Information
URI Parameters
None.
Body Parameters
AddUnpromotedItemBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"Disabled": "2025-12-06T05:41:49.1593234+01:00",
"ValidFrom": "2025-12-06T05:41:49.1593234+01:00",
"Expiration": "2025-12-06T05:41:49.1593234+01:00",
"PromotionID": 2,
"PromotionableTypeID": 3,
"PromotionableID": 4,
"IncludeDescendants": true,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<AddUnpromotedItemBinding 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> <Disabled>2025-12-06T05:41:49.1593234+01:00</Disabled> <Expiration>2025-12-06T05:41:49.1593234+01:00</Expiration> <IncludeDescendants>true</IncludeDescendants> <PromotionID>2</PromotionID> <PromotionableID>4</PromotionableID> <PromotionableTypeID>3</PromotionableTypeID> <ValidFrom>2025-12-06T05:41:49.1593234+01:00</ValidFrom> </AddUnpromotedItemBinding>
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>