POST Marketing/PromotedItem
GetPromotedItems with same parentID
Request Information
URI Parameters
None.
Body Parameters
GetPromotedItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetPromotedItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Marketing"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID> <ID>1</ID> </GetPromotedItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PromotedItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PromotionItemID | integer |
None. |
|
| PromotionableTypeID | integer |
None. |
|
| PromotionableID | integer |
None. |
|
| IncludeDescendants |
Includes PromotionableID descendants |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"PromotionItemID": 2,
"PromotionableTypeID": 3,
"PromotionableID": 4,
"IncludeDescendants": true
}
application/xml, text/xml
Sample:
<PromotedItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Marketing"> <ID>1</ID> <IncludeDescendants>true</IncludeDescendants> <PromotionItemID>2</PromotionItemID> <PromotionableID>4</PromotionableID> <PromotionableTypeID>3</PromotionableTypeID> </PromotedItem>