POST api/customer/{id}/adjustCard
Adjust gift card value
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. |
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": "ewQu3oAEB0Kt9hBCP75viw==", "idempotentGuid": "de2e047b-0480-4207-adf6-10423fbe6f8b", "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>de2e047b-0480-4207-adf6-10423fbe6f8b</IdempotentGuid> <IdempotentID>ewQu3oAEB0Kt9hBCP75viw==</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 g�D[|�ʉ� 5 xl/workbook.xml � (� ����0��&�C����� '.^=x_a� �'m >��o�vfg��r�vxj=���+lE���`̵%��6�®�V�Ҿ��{�b�۷D�Y�$9�8�Z9.����3�s��qAI���!���!prQc�;��-!��*#l���(�X�<P�[Wє[�0��d9d�srIO]z�{��l�]PK g�D[���� � [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 g�D[�' ' _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="R08802e8d39e04d75" /></Relationships>PK g�D[��� � 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 g�D[Ik�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�q⤩�vÆm����&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ����55�� FF�f0] ��>�`���i�'|?̞��k�C�ל{�ӄ>�3��i��0��u|F}���nɀ[&;\f�Ѷ�����D&��֝|O��uj�)y~ i�����i��@Y)Q�y�f����|������UFJ�2Wy��]ezt�</�tZ�jXfJ$��J�B�U�����PK g�D[Ѓ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 g�D[�/�� � 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- g�D[|�ʉ� 5 xl/workbook.xmlPK- g�D[���� � [Content_Types].xmlPK- g�D[�' ' V _rels/.relsPK- g�D[��� � � xl/worksheets/sheet1.xmlPK- g�D[Ik�� P 2 xl/_rels/workbook.xml.relsPK- g�D[Ѓc'2 E y xl/styles.xmlPK- g�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK g�D[��4�� 5 xl/workbook.xml � (� ����0��&�C��h�*N\�z��V�O�||�o�vfg��|4�����G �g��]6c�7*�cQO;a��0I�bF�`e��B�)I8s8@�F�NZO�?,oB�;Ġ��@jZ�w��s����G9k��$l ��Ta�ETD�V����ۂ)q����-�5�+^R.�u�Ѝ��r��.�PK g�D[���� � [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 g�D[S�d' ' _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="Raf639c3909f14678" /></Relationships>PK g�D[��� � 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 g�D[��c�� P xl/_rels/workbook.xml.rels � (� ���n� @��خ��Q�,]���8c��m��C?��P�J-�:tɄ��������ٽ-3yA&kZ%%h��Ɍ=Eu���v�Ǚ�t#�����0P�[3@��Ca�TQ�/<�Џ�q8�Y]�-�9�^3����?D���hᴠ��٫�Ǡ#%�G��Iv9�"Q)y����V�ÇU�!S��fj!�g�^�q&���k}� ـ�7��ܣ|�>m:w�����iFP�}�t%\��տ�~PK g�D[Ѓ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 g�D[�/�� � 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- g�D[��4�� 5 xl/workbook.xmlPK- g�D[���� � � [Content_Types].xmlPK- g�D[S�d' ' U _rels/.relsPK- g�D[��� � � xl/worksheets/sheet1.xmlPK- g�D[��c�� P 1 xl/_rels/workbook.xml.relsPK- g�D[Ѓc'2 E x xl/styles.xmlPK- g�D[�/�� � � xl/sharedStrings.xmlPK � �