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": "AbM1/fFRn0ietOdwf7T97A==",
"idempotentGuid": "fd35b301-51f1-489f-9eb4-e7707fb4fdec",
"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>fd35b301-51f1-489f-9eb4-e7707fb4fdec</IdempotentGuid> <IdempotentID>AbM1/fFRn0ietOdwf7T97A==</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 ��\ɰ-�� 5 xl/workbook.xml � (� ����0��&�C��b*N\�zm�?ik��-H�yۙ��v������'=�P���]�X�5��uh�NX�!&�_�
�86��5��N�c�<�5A*�B���G�D�zXP���~GH95{*�,��֝L�M�3l��1���
D�dv�]E3J|���h1����"�s�Sheo�����/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
��\˒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="R29f7df07678a49ed" /></Relationships>PK ��\��� � 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 ��\��41� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;q~� "�a�-��3N"۲
-g�G�jQ�
Rݰ���I3�����<�:?�@��@PKӍ�o��S��怓q���$�h���]S�倳���cG7�S�S+�I�H�4e�-p�$ǫ���R�Ľ��u�L_�;�1 9
�ch���-dI�y�8��D&��qՖ�@���|�N����L�Z�Q���r�?Vf���⥗N��B-/Z^U+U75z��/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�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- ��\ɰ-�� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\˒1�' ' U _rels/.relsPK- ��\��� � � xl/worksheets/sheet1.xmlPK- ��\��41� P 1 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
w xl/styles.xmlPK- ��\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��\'� 5 xl/workbook.xml � (� ����0��&�C���Q��x��})�4П�5��$���~;�d��3����]I�lΘ=*�'cQ�]g���{1�uR`m�[��'Ʌ9!H�}/��+�����=bP�R 5��B���S�����l���o�X`�Ţ��%�! %�soK�R�r�����&��̳���V��w�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
��\�o[' ' _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="R63502b5e78824e01" /></Relationships>PK ��\��� � 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 ��\eM�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�v�M7l)0��#;�
-g�G�jQ�
Rݰ���I3�����8�3��{W/t�k+8��A�f���`R��]?E�W\��KiZRm�������N��hRNCK'c��E*{�a[&�_&��7Mo���ӈ.���>c����Mh1U�S��x��@�u;#�h��� �R@���b����Ջ�)�F�Rڅ��Lg�/)�Kϝ�噚d�Qi��d\
~��ћ�XPK ��\Ѓ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�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- ��\'� 5 xl/workbook.xmlPK- ��\���� � � [Content_Types].xmlPK-
��\�o[' ' U _rels/.relsPK- ��\��� � � xl/worksheets/sheet1.xmlPK- ��\eM�� P 1 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
w xl/styles.xmlPK- ��\�/�� � � xl/sharedStrings.xmlPK � �