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
CardAdjustmentName | 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. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1, "saleIdentifier": "sample string 2", "idempotentID": "SmdYKlpifUKQiPMuoQekTg==", "idempotentGuid": "2a58674a-625a-427d-9088-f32ea107a44e", "offline": true, "description": "sample string 4" }
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>2a58674a-625a-427d-9088-f32ea107a44e</IdempotentGuid> <IdempotentID>SmdYKlpifUKQiPMuoQekTg==</IdempotentID> <Offline>true</Offline> <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 C�[��>�� 5 xl/workbook.xml � (� ����0��&�C��@�D��x��})�m�?ik��-%�x�3;��Գq�ޘ��I��5T�`+�<����Ew�q B����8J���o�:�"�.��A텴���X�:��Ġ��@j���K����'���b���o�N��")�AaC;@IrnCCsJ\%�p�1�C%��}y-2��wXͶ��PK C�[���� � [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 C�[�LY' ' _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="R369162bf1e064a2e" /></Relationships>PK C�[��� � 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 C�[��� P xl/_rels/workbook.xml.rels � (� ��An�0E�by�8�$� �n);?qDbG�)p�.z�^��� u� +k��Oo4�|�Xo/����|oMͳ$�F٦7]�O�}*�v��c�ox�O��'��\�0=��H>�L�֍b�:1�:R���R�9��3��:�?D۶��Ϊ�� ��uG���ف\�P�ȋۑ%���KS�}�L59J.dQ�q|�05����w=��d�g-�J��Ce494���Mϝ��L��2-s� ɛ����/PK C�[Ѓ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 C�[�/�� � 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- C�[��>�� 5 xl/workbook.xmlPK- C�[���� � � [Content_Types].xmlPK- C�[�LY' ' U _rels/.relsPK- C�[��� � � xl/worksheets/sheet1.xmlPK- C�[��� P 1 xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E w xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK C�[�-$?� 5 xl/workbook.xml � (� ����0��&�C���?�p��Ճ��,������Ǘ�@������#�ۧs-��Ά�T�����@8��k�7G�_�5��X9�6h#K8?1�D�lP�t��� �G��B��[P���~G���=4a���֝L�M��]̊X0X� "P2;���GJ|���^�T�Kz�<Ͳ��{� ��.�PK C�[���� � [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 C�[Pg�' ' _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="R20749ef0104e4b52" /></Relationships>PK C�[��� � 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 C�[��ѷ� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�&��vÆm�g�DMl�v���G� XE�Tb�������4����ݿ�yAFk��F�n4��s� �w�N2��0�.��b��!F��4�g2�Ф��~�1���N������_2�I���!Z�G��V�g4�0}����(}�Q�O)�kȳD�� 8�k^*Ք5c%�B��e�����/d�j��h���+��*3H��s���K�ey�V�Z�m]�"G^�۫����PK C�[Ѓ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 C�[�/�� � 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- C�[�-$?� 5 xl/workbook.xmlPK- C�[���� � [Content_Types].xmlPK- C�[Pg�' ' V _rels/.relsPK- C�[��� � � xl/worksheets/sheet1.xmlPK- C�[��ѷ� P 2 xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E y xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �