PUT api/promotionType/{id}

Save promotion type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Identifier of promotion type to save

globally unique identifier

Required

Body Parameters

promotion type to save

PromotionType
NameDescriptionTypeAdditional 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": "x2bYAbUJt0+z6//Ui7TVSA==",
  "identifierGuid": "01d866c7-09b5-4fb7-b3eb-ffd48bb4d548",
  "hostType": 2,
  "code": "sample string 3",
  "description": "sample string 4",
  "isLiquor": true,
  "isAdvertised": true,
  "disableWasSave": true,
  "excludeFromPromoSales": true,
  "labelPageLayoutG_UID": "cQh4ifX5ukKcm/08zjH/kw==",
  "labelPageLayoutGuid": "89780871-f9f5-42ba-9c9b-fd3cce31ff93",
  "priceLevelIdentifier": "epj4Hocj+UWWMc0gX9M4QA==",
  "priceLevelIdentifierGuid": "1ef8987a-2387-45f9-9631-cd205fd33840",
  "active": true,
  "updated": "2025-06-14T06:57:25.1272764",
  "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>x2bYAbUJt0+z6//Ui7TVSA==</Identifier>
  <IdentifierGuid>01d866c7-09b5-4fb7-b3eb-ffd48bb4d548</IdentifierGuid>
  <IsAdvertised>true</IsAdvertised>
  <IsLiquor>true</IsLiquor>
  <LabelPageLayoutG_UID>cQh4ifX5ukKcm/08zjH/kw==</LabelPageLayoutG_UID>
  <LabelPageLayoutGuid>89780871-f9f5-42ba-9c9b-fd3cce31ff93</LabelPageLayoutGuid>
  <PriceLevelIdentifier>epj4Hocj+UWWMc0gX9M4QA==</PriceLevelIdentifier>
  <PriceLevelIdentifierGuid>1ef8987a-2387-45f9-9631-cd205fd33840</PriceLevelIdentifierGuid>
  <Updated>2025-06-14T06:57:25.1272764+00:00</Updated>
</PromotionType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.