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. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1, "saleIdentifier": "sample string 2", "idempotentID": "Q65ceXFPEUW5IsxNjw6HaA==", "idempotentGuid": "795cae43-4f71-4511-b922-cc4d8f0e8768", "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>795cae43-4f71-4511-b922-cc4d8f0e8768</IdempotentGuid> <IdempotentID>Q65ceXFPEUW5IsxNjw6HaA==</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 �6�Z��0� 5 xl/workbook.xml � (� ����0D�&�C��(HN\�z��6Ж�5���H�yۙ�};�l��4f 5jWښ 戮1�*p'3���X>H�b��%���B��%Irfq/�vBN���Xn���^�+J�Դ9��f���2[��$l ��Ta�ETD�����ܺ��)��ÝCV�P��.�Bm�V��w�PK �6�Z���� � [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 �6�Z|6B�' ' _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="Rd0b408c397c84523" /></Relationships>PK �6�Z��� � 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 �6�ZN6� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ء!T�6lK/08�8jb[��l,8W�*�6]����������m���8:+�,0����$��ia�Y�h'�}dy�F &%�yT�f���dsG�0c�i�Gu����5K\2����?D�������L6��.�!J��J~J��CYd*��^�Naխ�[)�����ZL����w��Ѣ�����6k��2�O)�K/��党h*ݵ �V�J����/�b�PK �6�ZЃ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 �6�Z�/�� � 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- �6�Z��0� 5 xl/workbook.xmlPK- �6�Z���� � � [Content_Types].xmlPK- �6�Z|6B�' ' U _rels/.relsPK- �6�Z��� � � xl/worksheets/sheet1.xmlPK- �6�ZN6� P 1 xl/_rels/workbook.xml.relsPK- �6�ZЃc'2 E u xl/styles.xmlPK- �6�Z�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �6�Z��Զ 5 xl/workbook.xml � (� ����0��&�C���N\�z�E�O�||K $���~;�l��3����/\E�l��*�'cQ�]o���{1��R`c�[�,���N��~��ӕ��[���1�iE)����!���)q�IFc�����!��*l�H�hPX�P��{W�3%��qx�����p~ͳ���;�d���PK �6�Z���� � [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 �6�Zq0`�' ' _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="R9d2c2da452ec4834" /></Relationships>PK �6�Z��� � 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 �6�Z�֝�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�(��ݰa���3��&vd�О�G� XEWb�������4����ޞ牼���ʂA�\?ځ�)����'�D0�HZ����qy�4(���[Ц�v~1�~��PG1 �k��p�$�˂�!:�G��N�f��0}s�br~����5�E�y�9��J5�����MU�wS�2a����3�G�dd%:U75��]e����O�Ν�r��(�VW��D�;yU�7��PK �6�ZЃ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 �6�Z�/�� � 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- �6�Z��Զ 5 xl/workbook.xmlPK- �6�Z���� � � [Content_Types].xmlPK- �6�Zq0`�' ' U _rels/.relsPK- �6�Z��� � � xl/worksheets/sheet1.xmlPK- �6�Z�֝�� P 1 xl/_rels/workbook.xml.relsPK- �6�ZЃc'2 E v xl/styles.xmlPK- �6�Z�/�� � � xl/sharedStrings.xmlPK � �