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": "sTePYGbQRE2cJszWaYE2XA==",
"identifierGuid": "608f37b1-d066-4d44-9c26-ccd66981365c",
"hostType": 2,
"code": "sample string 3",
"description": "sample string 4",
"isLiquor": true,
"isAdvertised": true,
"disableWasSave": true,
"excludeFromPromoSales": true,
"labelPageLayoutG_UID": "gEUTZaYZCEWj+Idy+3+BxQ==",
"labelPageLayoutGuid": "65134580-19a6-4508-a3f8-8772fb7f81c5",
"priceLevelIdentifier": "DFwclWiyAUqZhypdgDnY5g==",
"priceLevelIdentifierGuid": "951c5c0c-b268-4a01-9987-2a5d8039d8e6",
"active": true,
"updated": "2026-06-03T18:31:33.0418915",
"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>sTePYGbQRE2cJszWaYE2XA==</Identifier> <IdentifierGuid>608f37b1-d066-4d44-9c26-ccd66981365c</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>gEUTZaYZCEWj+Idy+3+BxQ==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>65134580-19a6-4508-a3f8-8772fb7f81c5</LabelPageLayoutGuid> <PriceLevelIdentifier>DFwclWiyAUqZhypdgDnY5g==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>951c5c0c-b268-4a01-9987-2a5d8039d8e6</PriceLevelIdentifierGuid> <Updated>2026-06-03T18:31:33.0418915+00:00</Updated> </PromotionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.