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": "3lsP0vnLjkGyjN90hDiYdw==",
"headerIdentifierGuid": "d20f5bde-cbf9-418e-b28c-df7484389877",
"identifier": "Dboor+Ny+kSTqoYklaNfUw==",
"identifierGuid": "af28ba0d-72e3-44fa-93aa-862495a35f53",
"supplierIdentifier": "6egcs2DpnkGgTHZrkigCow==",
"supplierGuid": "b31ce8e9-e960-419e-a04c-766b922802a3",
"pluG_UID": "NpG+2B3FZk6I3S3IntB1tQ==",
"pluGuid": "d8be9136-c51d-4e66-88dd-2dc89ed075b5",
"campaignName": "cd0c0357-afb1-4564-a4eb-c328b7c15526",
"description": "sample string 4",
"cost": 5,
"costDecimals": 6,
"start": "2026-04-03T06:16:51.3527047",
"end": "2026-04-03T06:16:51.3527047",
"type": 9,
"promoType": 10,
"bonusItemPLUG_UID": "Bm3de19Z4EKV462Tb61kwA==",
"bonusItemPluGuid": "7bdd6d06-595f-42e0-95e3-ad936fad64c0",
"bonusPurchaseUnits": 11,
"bonusReceiveUnits": 12,
"updated": "2026-04-03T06:16:51.3527047",
"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-04-03T06:16:51.3527047",
"campaignEndDate": "2026-04-03T06:16:51.3527047",
"masterPLUG_UID": "WlZugL2cEUWRFHncBJMvJA==",
"masterID": "806e565a-9cbd-4511-9114-79dc04932f24",
"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": "cJRBYhigVEqbPS0qA3GRbA==",
"bonusMasterID": "62419470-a018-4a54-9b3d-2d2a0371916c",
"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>Bm3de19Z4EKV462Tb61kwA==</BonusItemPLUG_UID>
<BonusItemPluGuid>7bdd6d06-595f-42e0-95e3-ad936fad64c0</BonusItemPluGuid>
<BonusMasterID>62419470-a018-4a54-9b3d-2d2a0371916c</BonusMasterID>
<BonusMasterPLUG_UID>cJRBYhigVEqbPS0qA3GRbA==</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-04-03T06:16:51.3527047+00:00</CampaignEndDate>
<CampaignMetcashPromotionID>sample string 19</CampaignMetcashPromotionID>
<CampaignName>cd0c0357-afb1-4564-a4eb-c328b7c15526</CampaignName>
<CampaignStartDate>2026-04-03T06:16:51.3527047+00:00</CampaignStartDate>
<CartonQuantity>28</CartonQuantity>
<Cost>5</Cost>
<CostDecimals>6</CostDecimals>
<Description>sample string 4</Description>
<End>2026-04-03T06:16:51.3527047+00:00</End>
<FromHost>15</FromHost>
<FuelItem>true</FuelItem>
<HeaderIdentifier>3lsP0vnLjkGyjN90hDiYdw==</HeaderIdentifier>
<HeaderIdentifierGuid>d20f5bde-cbf9-418e-b28c-df7484389877</HeaderIdentifierGuid>
<Identifier>Dboor+Ny+kSTqoYklaNfUw==</Identifier>
<IdentifierGuid>af28ba0d-72e3-44fa-93aa-862495a35f53</IdentifierGuid>
<MasterID>806e565a-9cbd-4511-9114-79dc04932f24</MasterID>
<MasterPLUG_UID>WlZugL2cEUWRFHncBJMvJA==</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>NpG+2B3FZk6I3S3IntB1tQ==</PLUG_UID>
<PluGuid>d8be9136-c51d-4e66-88dd-2dc89ed075b5</PluGuid>
<ProductAPN>sample string 23</ProductAPN>
<ProductName>sample string 22</ProductName>
<PromoType>10</PromoType>
<SalesMode>29</SalesMode>
<Start>2026-04-03T06:16:51.3527047+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>b31ce8e9-e960-419e-a04c-766b922802a3</SupplierGuid>
<SupplierIdentifier>6egcs2DpnkGgTHZrkigCow==</SupplierIdentifier>
<SupplierName>sample string 17</SupplierName>
<Type>9</Type>
<Updated>2026-04-03T06:16:51.3527047+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
"b45ba6c2-0bab-4285-bcc8-c3900d02e691"
application/xml, text/xml
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b45ba6c2-0bab-4285-bcc8-c3900d02e691</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK 2�\g��� 5 xl/workbook.xml � (� ��;�0D�H�����D2T4iS�7����?��t�vfg�]��Z�&�������. ���ً� �nPF0�y5��Fuoґ$�rb`f�+iG�-�h���6�z;81o(������]�=9,6Ho�uW�-D~S4�����d*�0�0
ν�p��)���(K��v+�����>`���/PK 2�\���� � [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
2�\��;' ' _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="Rb7684584e42d42aa" /></Relationships>PK 2�\��}�% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w���PMm'�i�� �кK�&����瓤!q�Ė��{v��͌lrm��]��{m/
��pW�c[�HW� <p��p��t�u
�t;���ڀd�)]����l�zQdك �RN����?\n"�}�`ƍ�Hmy[�:�G��`h�SΙh�|װ�_1�c|"^c��7<KX�|Nʯ�z�<�7\�A_�*SO��K73:�3#o�]u�U��ݾ�����yY��u��h>���Rl4I�$�lkQ*��y\r�]�wi�Z,�7� ������%�3�J
??�~PK 2�\� F� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8q�`��ݰ���3��&vd����G�
XE�Tb�������4����M#9���
Y�r�`�NQ?p�n�{eL�s iņL���A�d�܌6u��)�=��:�)���%n��p��?D����٩ӄ6�����A�@���)z
E��@v]��Y^�e!�Z^�wS�2b����2��Z%t�"[U\tw�1�c�}���iY^���D�����J��Fo�b�PK 2�\Ѓ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 2�\�Gc� � xl/sharedStrings.xml � (� 5�An� E��fO nb9&�J=As ����g\��Yd�������W���J#R�S����O=�b 4��������6%aYߍ�4c |�+RK��V�4���
��3���t����L�R�I��N�gǏ7A�N|<�c�S�mQ���cJ�Nok'�a9:#ޙgߴW�PK- 2�\g��� 5 xl/workbook.xmlPK- 2�\���� � [Content_Types].xmlPK-
2�\��;' ' V _rels/.relsPK- 2�\��}�% � � xl/worksheets/sheet1.xmlPK- 2�\� F� P 9 xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
� xl/styles.xmlPK- 2�\�Gc� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK 2�\�"�l� 5 xl/workbook.xml � (� ����0��&�C���(N\�z���6П�5��$���~;�d��3���/\EE�`�w�����7NA�ҽ��{�ac��BX�$�p� ��BZOW�?,o�1�qE)����!���)q��Vw6 [C�7U.��bQD�6��Ź�)q���#� ���O�k�ӝ��J����PK 2�\���� � [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
2�\����' ' _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="R08644683bc4e487a" /></Relationships>PK 2�\��}�% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w���PMm'�i�� �кK�&����瓤!q�Ė��{v��͌lrm��]��{m/
��pW�c[�HW� <p��p��t�u
�t;���ڀd�)]����l�zQdك �RN����?\n"�}�`ƍ�Hmy[�:�G��`h�SΙh�|װ�_1�c|"^c��7<KX�|Nʯ�z�<�7\�A_�*SO��K73:�3#o�]u�U��ݾ�����yY��u��h>���Rl4I�$�lkQ*��y\r�]�wi�Z,�7� ������%�3�J
??�~PK 2�\�+K�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8N���ݰa[z��Q;�]�gc���V� �X��j4��'�|�lvo�D^Ї��X�A+����)�v��'�D0�HZ����@i�g2��M��,bJ�@!�b@Z��=�k\3����N�Q⣓�m�L_�?���0v�S
�X��@�T��X
W��y�s �fj!�'�^��JF���U��L2����2FxT�ѧK����ZU)^�Z蜷\��E�^���PK 2�\Ѓ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 2�\�Gc� � xl/sharedStrings.xml � (� 5�An� E��fO nb9&�J=As ����g\��Yd�������W���J#R�S����O=�b 4��������6%aYߍ�4c |�+RK��V�4���
��3���t����L�R�I��N�gǏ7A�N|<�c�S�mQ���cJ�Nok'�a9:#ޙgߴW�PK- 2�\�"�l� 5 xl/workbook.xmlPK- 2�\���� � � [Content_Types].xmlPK-
2�\����' ' U _rels/.relsPK- 2�\��}�% � � xl/worksheets/sheet1.xmlPK- 2�\�+K�� P 8 xl/_rels/workbook.xml.relsPK- 2�\Ѓc'2 E
xl/styles.xmlPK- 2�\�Gc� � � xl/sharedStrings.xmlPK � �