POST api/customer/{id}/adjustBalance
Adjust customer card value, to return available spending $ after void
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
card identifier |
string |
Required |
Body Parameters
CardAdjustment object
CardAdjustment| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount |
Loyalty points to reverse in a void (used as provided) |
integer |
None. |
| SaleIdentifier |
Sale Identifier of the referenced sale, where there is one |
string |
None. |
| IdempotentID |
The byte[16] representation of the idempotent id |
Collection of byte |
None. |
| IdempotentGuid |
Idempotent identifier |
globally unique identifier |
None. |
| Offline |
Whether action is offline or not (offline as per POS), defaults to true |
boolean |
None. |
| Description |
Description of reason for adjustment, only used in audit logs |
string |
Deprecated. |
| Reason |
Manual or Automatic adjustment, 0 for automatic (eg. pos-system), 1 for manual (eg. staff adjust) 2 for expired |
LoyaltyPointsReason |
None. |
Request Formats
application/json, text/json
Sample:
{
"amount": 1,
"saleIdentifier": "sample string 2",
"idempotentID": "qlMWrsfpwUqflYIwiuGR5A==",
"idempotentGuid": "ae1653aa-e9c7-4ac1-9f95-82308ae191e4",
"offline": true,
"description": "sample string 4",
"reason": 1
}
application/xml, text/xml
Sample:
<CardAdjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Customers"> <Amount>1</Amount> <Description>sample string 4</Description> <IdempotentGuid>ae1653aa-e9c7-4ac1-9f95-82308ae191e4</IdempotentGuid> <IdempotentID>qlMWrsfpwUqflYIwiuGR5A==</IdempotentID> <Offline>true</Offline> <Reason>1</Reason> <SaleIdentifier>sample string 2</SaleIdentifier> </CardAdjustment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Boolean value indicating success
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �1�\>r�j� 5 xl/workbook.xml � (� ����0D�H����K��&m���|�vD>?)]���ٷ�㺧1��^���
��yѢ0��k�SF�^�4�X�V�;EQ���Ѿ��Ӆ��[�P�1�~A)����!|j��8�Y��Zw2 [B�7�g�v1+�AaA+@����)q��{�g�5M/Y�э��8[�_PK �1�\���� � [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
�1�\#��' ' _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="Rcbccec3a29a143a9" /></Relationships>PK �1�\��� � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j��T��j�M;lg�85��8M?@�i�.; 6<��l��͍�
,�Z��B
�-v�����{���Z�.� ��p�TK�<�
���'��Gr�cJ�¾�-��xVۢ�)�Qs�
�NA�l��
��7�TN[/����=�}-�K)TSe䇅%��Ej�xI�kW�"c��)+������︼�� =�ǐw�l��N��؎M-�6�}��Ft;F��^���Z����uS.��sdMQ�#d�Q���6e���6����֛8�"e��k� PK �1�\����� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�MR;FM�aö��'Q;�]�gc���V���X��j4��'�|�lvo�D^Ї��V�V�n�}�h��m7{�TLa�@Ҋ
-1.��=�B���c��UL����Q�HK�8�9���p^�?Dg̨���ӌ6����À���1��S
�VE�y�Z�s�����릩��@���B<O~���L�T.MU��qqS�Ay잢O�Ν�r�&J^�Z��㪮�_���_l� PK �1�\Ѓ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 �1�\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- �1�\>r�j� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\#��' ' U _rels/.relsPK- �1�\��� � � xl/worksheets/sheet1.xmlPK- �1�\����� P 1 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
x xl/styles.xmlPK- �1�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\F�e� 5 xl/workbook.xml � (� ����0��&�C��HFR8q���{)[�H����[J ��mgv�ۡ�������ɄƷX��B��Y8Y&����$��X!���IY5�0��� R��W�?��<�1H�����2�;�K���9d����b"���o�f�~�2LC�{Fٹ�->c���{�p��Z�u5T|xg�0J���PK �1�\���� � [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
�1�\���9' ' _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="R7ecb9ae2bdc94060" /></Relationships>PK �1�\��� � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j��T��j�M;lg�85��8M?@�i�.; 6<��l��͍�
,�Z��B
�-v�����{���Z�.� ��p�TK�<�
���'��Gr�cJ�¾�-��xVۢ�)�Qs�
�NA�l��
��7�TN[/����=�}-�K)TSe䇅%��Ej�xI�kW�"c��)+������︼�� =�ǐw�l��N��؎M-�6�}��Ft;F��^���Z����uS.��sdMQ�#d�Q���6e���6����֛8�"e��k� PK �1�\eh��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�VҢ�ݰa[z�I�Ďl��Xp$��U$p%l����I3�����<�q�^1 �7��;8%{���v��I�<�q�$�������@i��2V~A�;ևY����.Re��f���d�5�����5>z}�ѥ?��Շc��=�~J�^�2ȓ�`�ҴX�E�%��@���b:O���BFI%�՚Y�jq��Me�<��/]:��B�7\ �i���5z��/PK �1�\Ѓ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 �1�\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- �1�\F�e� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\���9' ' U _rels/.relsPK- �1�\��� � � xl/worksheets/sheet1.xmlPK- �1�\eh��� P 1 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
v xl/styles.xmlPK- �1�\�/�� � � xl/sharedStrings.xmlPK � �