POST Marketing/Promotion
GetPromotions with same parentID
Request Information
URI Parameters
None.
Body Parameters
GetPromotionRequest| 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:
<GetPromotionRequest 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> </GetPromotionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Promotion| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Created | date |
None. |
|
| Disabled | date |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| TariffID |
The tariff this promotion applies to |
integer |
None. |
| CouponsOff |
this promotion excludes use of coupons |
boolean |
None. |
| Priority |
priority versus other coexisting promotions |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Created": "2025-12-06T09:18:00.3527652+01:00",
"Disabled": "2025-12-06T09:18:00.3527652+01:00",
"Name": "sample string 3",
"Description": "sample string 4",
"TariffID": 1,
"CouponsOff": true,
"Priority": true
}
application/xml, text/xml
Sample:
<Promotion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Marketing"> <CouponsOff>true</CouponsOff> <Created>2025-12-06T09:18:00.3527652+01:00</Created> <Description>sample string 4</Description> <Disabled>2025-12-06T09:18:00.3527652+01:00</Disabled> <ID>1</ID> <Name>sample string 3</Name> <Priority>true</Priority> <TariffID>1</TariffID> </Promotion>