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
PromotionTypeName | 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": "44LV0RDXrkip2w2VHVH1tQ==", "identifierGuid": "d1d582e3-d710-48ae-a9db-0d951d51f5b5", "hostType": 2, "code": "sample string 3", "description": "sample string 4", "isLiquor": true, "isAdvertised": true, "disableWasSave": true, "excludeFromPromoSales": true, "labelPageLayoutG_UID": "Jhxt7tAD2UqVFiag2jDO6w==", "labelPageLayoutGuid": "ee6d1c26-03d0-4ad9-9516-26a0da30ceeb", "priceLevelIdentifier": "TpHcnlaZ9kihLeRtySzVcA==", "priceLevelIdentifierGuid": "9edc914e-9956-48f6-a12d-e46dc92cd570", "active": true, "updated": "2025-08-02T23:18:09.7472485", "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>44LV0RDXrkip2w2VHVH1tQ==</Identifier> <IdentifierGuid>d1d582e3-d710-48ae-a9db-0d951d51f5b5</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>Jhxt7tAD2UqVFiag2jDO6w==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>ee6d1c26-03d0-4ad9-9516-26a0da30ceeb</LabelPageLayoutGuid> <PriceLevelIdentifier>TpHcnlaZ9kihLeRtySzVcA==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>9edc914e-9956-48f6-a12d-e46dc92cd570</PriceLevelIdentifierGuid> <Updated>2025-08-02T23:18:09.7472485+00:00</Updated> </PromotionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.