POST api/dealCosts
Save a deal cost
Request Information
Deprecated . Removed after 31 May 2026
URI Parameters
None.
Body Parameters
Deal cost to save
DealCost| Name | Description | Type | Additional information |
|---|---|---|---|
| HeaderIdentifier | Collection of byte |
None. |
|
| HeaderIdentifierGuid | globally unique identifier |
None. |
|
| Identifier | Collection of byte |
None. |
|
| IdentifierGuid | globally unique identifier |
None. |
|
| SupplierIdentifier | Collection of byte |
None. |
|
| SupplierGuid | globally unique identifier |
None. |
|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid |
A Store Product GUID |
globally unique identifier |
None. |
| CampaignName | string |
Deprecated. Please use CampaignPLU.DealCostIdentifier instead. String length: inclusive between 0 and 64 |
|
| Description | string |
None. |
|
| Cost | integer |
None. |
|
| CostDecimals | integer |
None. |
|
| Start | date |
Data type: Date |
|
| End | date |
Data type: Date |
|
| Type | DealCostType |
None. |
|
| PromoType | PromoType |
None. |
|
| BonusItemPLUG_UID | Collection of byte |
None. |
|
| BonusItemPluGuid |
A Store Product GUID |
globally unique identifier |
None. |
| BonusPurchaseUnits | integer |
None. |
|
| BonusReceiveUnits | integer |
None. |
|
| Updated | date |
None. |
|
| MetcashPromotionID | string |
None. |
|
| FromHost |
FromHost identifying the source, see |
integer |
None. |
| StoreNames |
Concatenated list of the stores that the deal cost header is in |
string |
Relation. This field may not always be loaded or used for updates. |
| StoreIDs |
List of store ids of the stores that the deal cost header belongs to |
Collection of integer |
Relation. This field may not always be loaded or used for updates. |
| SupplierName |
Supplier name |
string |
Relation. This field may not always be loaded or used for updates. |
| CampaignDescription |
Campaign description of campaign using this deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
| NewPrice |
New sell price of campaign using this deal cost |
integer |
Relation. This field may not always be loaded or used for updates. |
| CampaignMetcashPromotionID |
Metcash promotion id of campaign using this deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
| CampaignActive |
Active status of campaign using this deal cost |
boolean |
Relation. This field may not always be loaded or used for updates. |
| CampaignStartDate |
Start date of campaign using this deal cost |
date |
Relation. This field may not always be loaded or used for updates. |
| CampaignEndDate |
End date of campaign using this deal cost |
date |
Relation. This field may not always be loaded or used for updates. |
| MasterPLUG_UID |
Master plu guid for the deal cost store product |
Collection of byte |
Relation. This field may not always be loaded or used for updates. |
| MasterID |
Master guid for the deal cost store product |
globally unique identifier |
Relation. This field may not always be loaded or used for updates. |
| ProductName |
Product description |
string |
Relation. This field may not always be loaded or used for updates. |
| ProductAPN |
Product barcode |
string |
Relation. This field may not always be loaded or used for updates. |
| OrderCode |
Order code of product for this supplier deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
| NormalSell |
Normal product sell |
integer |
Relation. This field may not always be loaded or used for updates. |
| NormalCost |
Normal product cost |
integer |
Relation. This field may not always be loaded or used for updates. |
| NormalCostDecimals |
Normal product cost decimals |
integer |
Relation. This field may not always be loaded or used for updates. |
| CartonQuantity | integer |
Relation. This field may not always be loaded or used for updates. |
|
| SalesMode | integer |
Relation. This field may not always be loaded or used for updates. |
|
| OrderPacked | integer |
Relation. This field may not always be loaded or used for updates. |
|
| FuelItem | boolean |
Relation. This field may not always be loaded or used for updates. |
|
| Active | boolean |
Relation. This field may not always be loaded or used for updates. |
|
| BonusMasterPLUG_UID |
Master plu guid for the deal cost store bonus product |
Collection of byte |
Relation. This field may not always be loaded or used for updates. |
| BonusMasterID |
Master guid for the deal cost store bonus product |
globally unique identifier |
Relation. This field may not always be loaded or used for updates. |
| BonusProductName |
Bonus product description |
string |
Relation. This field may not always be loaded or used for updates. |
| BonusProductAPN |
Bonus product barcode |
string |
Relation. This field may not always be loaded or used for updates. |
| BonusOrderCode |
Order code of bonus product for this supplier deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
| BonusNormalSell |
Normal bonus product sell |
integer |
Relation. This field may not always be loaded or used for updates. |
| BonusNormalCost |
Normal bonus product cost |
integer |
Relation. This field may not always be loaded or used for updates. |
| BonusNormalCostDecimals |
Normal bonus product cost decimals |
integer |
Relation. This field may not always be loaded or used for updates. |
| BonusCartonQuantity | integer |
Relation. This field may not always be loaded or used for updates. |
|
| BonusSalesMode | integer |
Relation. This field may not always be loaded or used for updates. |
|
| BonusOrderPacked | integer |
Relation. This field may not always be loaded or used for updates. |
|
| BonusFuelItem | boolean |
Relation. This field may not always be loaded or used for updates. |
|
| BonusActive | boolean |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{
"headerIdentifier": "9cozr+sGs06thElPi3F65w==",
"headerIdentifierGuid": "af33caf5-06eb-4eb3-ad84-494f8b717ae7",
"identifier": "TZfrfpQ7dkeWpeIJx17MQA==",
"identifierGuid": "7eeb974d-3b94-4776-96a5-e209c75ecc40",
"supplierIdentifier": "0xlR3G45w0SxQUrzrFD+6g==",
"supplierGuid": "dc5119d3-396e-44c3-b141-4af3ac50feea",
"pluG_UID": "4DrEpA8fx0GX2zL5J6j93A==",
"pluGuid": "a4c43ae0-1f0f-41c7-97db-32f927a8fddc",
"campaignName": "e1047a3e-9004-498c-b4de-775c6baba03f",
"description": "sample string 4",
"cost": 5,
"costDecimals": 6,
"start": "2026-06-03T18:32:14.5534217",
"end": "2026-06-03T18:32:14.5534217",
"type": 9,
"promoType": 10,
"bonusItemPLUG_UID": "dJm8WHDZSkSm/sil1VZ1cw==",
"bonusItemPluGuid": "58bc9974-d970-444a-a6fe-c8a5d5567573",
"bonusPurchaseUnits": 11,
"bonusReceiveUnits": 12,
"updated": "2026-06-03T18:32:14.5534217",
"metcashPromotionID": "sample string 14",
"fromHost": 15,
"storeNames": "sample string 16",
"storeIDs": [
1,
2
],
"supplierName": "sample string 17",
"campaignDescription": "sample string 18",
"newPrice": 1,
"campaignMetcashPromotionID": "sample string 19",
"campaignActive": true,
"campaignStartDate": "2026-06-03T18:32:14.5534217",
"campaignEndDate": "2026-06-03T18:32:14.5534217",
"masterPLUG_UID": "BaxxVYKDf0u+eoAiy3UgKw==",
"masterID": "5571ac05-8382-4b7f-be7a-8022cb75202b",
"productName": "sample string 22",
"productAPN": "sample string 23",
"orderCode": "sample string 24",
"normalSell": 25,
"normalCost": 26,
"normalCostDecimals": 27,
"cartonQuantity": 28,
"salesMode": 29,
"orderPacked": 30,
"fuelItem": true,
"active": true,
"bonusMasterPLUG_UID": "XccgIFrxxkG2tsK6M50bRg==",
"bonusMasterID": "2020c75d-f15a-41c6-b6b6-c2ba339d1b46",
"bonusProductName": "sample string 34",
"bonusProductAPN": "sample string 35",
"bonusOrderCode": "sample string 36",
"bonusNormalSell": 37,
"bonusNormalCost": 38,
"bonusNormalCostDecimals": 39,
"bonusCartonQuantity": 40,
"bonusSalesMode": 41,
"bonusOrderPacked": 42,
"bonusFuelItem": true,
"bonusActive": true
}
application/xml, text/xml
<DealCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<Active>true</Active>
<BonusActive>true</BonusActive>
<BonusCartonQuantity>40</BonusCartonQuantity>
<BonusFuelItem>true</BonusFuelItem>
<BonusItemPLUG_UID>dJm8WHDZSkSm/sil1VZ1cw==</BonusItemPLUG_UID>
<BonusItemPluGuid>58bc9974-d970-444a-a6fe-c8a5d5567573</BonusItemPluGuid>
<BonusMasterID>2020c75d-f15a-41c6-b6b6-c2ba339d1b46</BonusMasterID>
<BonusMasterPLUG_UID>XccgIFrxxkG2tsK6M50bRg==</BonusMasterPLUG_UID>
<BonusNormalCost>38</BonusNormalCost>
<BonusNormalCostDecimals>39</BonusNormalCostDecimals>
<BonusNormalSell>37</BonusNormalSell>
<BonusOrderCode>sample string 36</BonusOrderCode>
<BonusOrderPacked>42</BonusOrderPacked>
<BonusProductAPN>sample string 35</BonusProductAPN>
<BonusProductName>sample string 34</BonusProductName>
<BonusPurchaseUnits>11</BonusPurchaseUnits>
<BonusReceiveUnits>12</BonusReceiveUnits>
<BonusSalesMode>41</BonusSalesMode>
<CampaignActive>true</CampaignActive>
<CampaignDescription>sample string 18</CampaignDescription>
<CampaignEndDate>2026-06-03T18:32:14.5534217+00:00</CampaignEndDate>
<CampaignMetcashPromotionID>sample string 19</CampaignMetcashPromotionID>
<CampaignName>e1047a3e-9004-498c-b4de-775c6baba03f</CampaignName>
<CampaignStartDate>2026-06-03T18:32:14.5534217+00:00</CampaignStartDate>
<CartonQuantity>28</CartonQuantity>
<Cost>5</Cost>
<CostDecimals>6</CostDecimals>
<Description>sample string 4</Description>
<End>2026-06-03T18:32:14.5534217+00:00</End>
<FromHost>15</FromHost>
<FuelItem>true</FuelItem>
<HeaderIdentifier>9cozr+sGs06thElPi3F65w==</HeaderIdentifier>
<HeaderIdentifierGuid>af33caf5-06eb-4eb3-ad84-494f8b717ae7</HeaderIdentifierGuid>
<Identifier>TZfrfpQ7dkeWpeIJx17MQA==</Identifier>
<IdentifierGuid>7eeb974d-3b94-4776-96a5-e209c75ecc40</IdentifierGuid>
<MasterID>5571ac05-8382-4b7f-be7a-8022cb75202b</MasterID>
<MasterPLUG_UID>BaxxVYKDf0u+eoAiy3UgKw==</MasterPLUG_UID>
<MetcashPromotionID>sample string 14</MetcashPromotionID>
<NewPrice>1</NewPrice>
<NormalCost>26</NormalCost>
<NormalCostDecimals>27</NormalCostDecimals>
<NormalSell>25</NormalSell>
<OrderCode>sample string 24</OrderCode>
<OrderPacked>30</OrderPacked>
<PLUG_UID>4DrEpA8fx0GX2zL5J6j93A==</PLUG_UID>
<PluGuid>a4c43ae0-1f0f-41c7-97db-32f927a8fddc</PluGuid>
<ProductAPN>sample string 23</ProductAPN>
<ProductName>sample string 22</ProductName>
<PromoType>10</PromoType>
<SalesMode>29</SalesMode>
<Start>2026-06-03T18:32:14.5534217+00:00</Start>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
<StoreNames>sample string 16</StoreNames>
<SupplierGuid>dc5119d3-396e-44c3-b141-4af3ac50feea</SupplierGuid>
<SupplierIdentifier>0xlR3G45w0SxQUrzrFD+6g==</SupplierIdentifier>
<SupplierName>sample string 17</SupplierName>
<Type>9</Type>
<Updated>2026-06-03T18:32:14.5534217+00:00</Updated>
</DealCost>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Deal Cost identifier
globally unique identifierResponse Formats
application/json, text/json
"e341336b-0539-410d-b5b9-b21af22e5a7d"
application/xml, text/xml
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e341336b-0539-410d-b5b9-b21af22e5a7d</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK ��\
�X6� 5 xl/workbook.xml � (� ����0��&�C�pQ R8q����
[i�?ik���'�x�3;�����am��z0��%�bt@h:�֑�v�z�q�� VJ�Pm��&�$x0*kB�\�+�Vp��
Q�ÊҨ��;����h���o��d���7%�v�(fPS�k����\ے9[�K�e)�M�����7���]} PK ��\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
��\��L' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R5c55914e7b94492f" /></Relationships>PK ��\�&l$ � xl/worksheets/sheet1.xml � (� �QMo� �+��
mԏUI�IU�ݦ�3K��p�Iӟ? �4i� [~~�ٔ���
<t_�$g�l��+>����Ou9���,�}�u�Qj4XE+��Z�ުS��:���ɂb#�NxT�R��H|a��T�-�a���8^�����=��U�i͙�ˌ|70ӯ��1>�)yi+.3V�_��g-tj���`z↶�����ͬI{�̪{~g�]���=
��ž����(��XʋK��dͳ
�.=���rdOQ����(Nq�[-KqK��D����_�-�� �Y����/PK ��\���� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q 7 �M7l)�q�ؖmh9[=R�P�J�����h~OO��|�Xmަ��ɇ��fE ���j0]��جW;1���.��bB}��� {�0֑Im��1����;��p�d�����փ�g+O����Z=Q�G�Ql��5̊D�U-��Z�XKU��Y �wS�2R����3�KՠB�,�����ѓz�>]:w�˙��f���J������PK ��\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK ��\ � � xl/sharedStrings.xml � (� 5�An� E��fO�v�6&�J=Az l&1�\ϸjn���������//�7N�h�Tb�� ��/��%PK!�����:%`Y?��i��PV���ʖ�T���
C�Q�bZkO&�D����T-���ώ��\�;����;����Y�؏g=�M��-��-:#ޙW��W� PK- ��\
�X6� 5 xl/workbook.xmlPK- ��\���� � [Content_Types].xmlPK-
��\��L' ' V _rels/.relsPK- ��\�&l$ � � xl/worksheets/sheet1.xmlPK- ��\���� P 8 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
} xl/styles.xmlPK- ��\ � � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK ��\�}�� 5 xl/workbook.xml � (� ��;�0D{$�`� 8DD�JCKA����"��6
�'%����������ޥ*�T�*ƒ�h!|@7�(�y����E�YYg��l�KڄD�?�"�L1�~AY0�6�!|j�08�Y��Zw2 [B�7�g�v1+��bM[�@���dM���ʌ�])Rv�R
q�*E7��l��|PK ��\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
��\i6�' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R31966f5d71584070" /></Relationships>PK ��\�&l$ � xl/worksheets/sheet1.xml � (� �QMo� �+��
mԏUI�IU�ݦ�3K��p�Iӟ? �4i� [~~�ٔ���
<t_�$g�l��+>����Ou9���,�}�u�Qj4XE+��Z�ުS��:���ɂb#�NxT�R��H|a��T�-�a���8^�����=��U�i͙�ˌ|70ӯ��1>�)yi+.3V�_��g-tj���`z↶�����ͬI{�̪{~g�]���=
��ž����(��XʋK��dͳ
�.=���rdOQ����(Nq�[-KqK��D����_�-�� �Y����/PK ��\��w� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞x�I��ݰa[zc�㨉�.г��H\�H�J,�t5��ӓf>�?6��id/���ly���J��wp�����v��Q�4�0�Vl���8�9��$B�f�����DL���,�Q����K\3��<��N�A҃���l��_�?C���)v�S
��,Q�=��Zk�Գ�)�Vk`�fj!�G
�^��B�T�b��U#ڛ��I=E�.�tZ�j�Vu�e٬�������~PK ��\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK ��\ � � xl/sharedStrings.xml � (� 5�An� E��fO�v�6&�J=Az l&1�\ϸjn���������//�7N�h�Tb�� ��/��%PK!�����:%`Y?��i��PV���ʖ�T���
C�Q�bZkO&�D����T-���ώ��\�;����;����Y�؏g=�M��-��-:#ޙW��W� PK- ��\�}�� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\i6�' ' U _rels/.relsPK- ��\�&l$ � � xl/worksheets/sheet1.xmlPK- ��\��w� P 7 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
} xl/styles.xmlPK- ��\ � � � xl/sharedStrings.xmlPK � �