PUT api/promotionType/{id}
Save promotion type
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identifier of promotion type to save |
globally unique identifier |
Required |
Body Parameters
promotion type to save
PromotionType| Name | Description | Type | Additional information |
|---|---|---|---|
| Identifier | Collection of byte |
None. |
|
| IdentifierGuid | globally unique identifier |
None. |
|
| HostType | HostType |
None. |
|
| Code | string |
String length: inclusive between 0 and 20 |
|
| Description | string |
String length: inclusive between 0 and 255 |
|
| IsLiquor | boolean |
Deprecated. |
|
| IsAdvertised | boolean |
None. |
|
| DisableWasSave | boolean |
None. |
|
| ExcludeFromPromoSales |
Used to Exclude Promo's from: * Key Indicator Report See: https://git.gapsolutions.com.au/cloud/ezi-manager/issues/2557#note_43226 |
boolean |
None. |
| LabelPageLayoutG_UID | Collection of byte |
None. |
|
| LabelPageLayoutGuid | globally unique identifier |
None. |
|
| PriceLevelIdentifier | Collection of byte |
None. |
|
| PriceLevelIdentifierGuid | globally unique identifier |
None. |
|
| Active | boolean |
Deprecated. |
|
| Updated | date |
None. |
|
| HostName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"identifier": "z1cBGq5i60OAuAtcwP3C1A==",
"identifierGuid": "1a0157cf-62ae-43eb-80b8-0b5cc0fdc2d4",
"hostType": 2,
"code": "sample string 3",
"description": "sample string 4",
"isLiquor": true,
"isAdvertised": true,
"disableWasSave": true,
"excludeFromPromoSales": true,
"labelPageLayoutG_UID": "M6Q2zjN73EuhBan/R0b/kw==",
"labelPageLayoutGuid": "ce36a433-7b33-4bdc-a105-a9ff4746ff93",
"priceLevelIdentifier": "a1bWHz8FBEacLy7MlpNqqA==",
"priceLevelIdentifierGuid": "1fd6566b-053f-4604-9c2f-2ecc96936aa8",
"active": true,
"updated": "2026-04-03T06:15:19.1973035",
"hostName": "sample string 11"
}
application/xml, text/xml
Sample:
<PromotionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns"> <Active>true</Active> <Code>sample string 3</Code> <Description>sample string 4</Description> <DisableWasSave>true</DisableWasSave> <ExcludeFromPromoSales>true</ExcludeFromPromoSales> <HostName>sample string 11</HostName> <HostType>2</HostType> <Identifier>z1cBGq5i60OAuAtcwP3C1A==</Identifier> <IdentifierGuid>1a0157cf-62ae-43eb-80b8-0b5cc0fdc2d4</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>M6Q2zjN73EuhBan/R0b/kw==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>ce36a433-7b33-4bdc-a105-a9ff4746ff93</LabelPageLayoutGuid> <PriceLevelIdentifier>a1bWHz8FBEacLy7MlpNqqA==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>1fd6566b-053f-4604-9c2f-2ecc96936aa8</PriceLevelIdentifierGuid> <Updated>2026-04-03T06:15:19.1973035+00:00</Updated> </PromotionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.