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": "VvWBe4+jn0ONg9jZVKTVlA==", "idempotentGuid": "7b81f556-a38f-439f-8d83-d8d954a4d594", "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>7b81f556-a38f-439f-8d83-d8d954a4d594</IdempotentGuid> <IdempotentID>VvWBe4+jn0ONg9jZVKTVlA==</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 v�[� � � 5 xl/workbook.xml � (� ����0��&�C�� �DR8q���{)[�@����[ �x�3;��������G=�P� �]IH�4�����^���+���X��`"9fمxXT��\��VpX$@�Â�L\�wѩ�S�f����d"���o�ΰ�bV�0 nXd�ν�p��/UE[ܠ-�"���_[��7%���PK v�[���� � [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 v�[0 *�' ' _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="R9b4ad35e2aea41f9" /></Relationships>PK v�[��� � 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 v�[�_�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8i⤩�vÆm�{GMl�v���G� XE�Tb�������4����ݿ�yAFk:(�a�h��Q=�a��p�1M=�@Ҋ �݆� 4�<d֡Ie��cJ�@'> ]�yM���Lr�8��*5 |��<�������#�#��~J�^C�%*�'��������B�J4=z7�/�_��|!#V\�y�bS�*i�UFs��9�t�Ӳ�Pk֒I���}�$��ћ��}PK v�[Ѓ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 v�[�/�� � 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- v�[� � � 5 xl/workbook.xmlPK- v�[���� � [Content_Types].xmlPK- v�[0 *�' ' V _rels/.relsPK- v�[��� � � xl/worksheets/sheet1.xmlPK- v�[�_�� P 2 xl/_rels/workbook.xml.relsPK- v�[Ѓc'2 E y xl/styles.xmlPK- v�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK v�[�J'� 5 xl/workbook.xml � (� ����@�{��r��&䠢���_`��O�����O ��ۙ��v�h\_ӳ���\λl�������]k��0I�Ӷ����oE:�9���h� �������X�:��wDA +J�Լ8s����/r2����` �oJ,��bQL������Ź79�9s������&qSz�����&`�]|PK v�[���� � [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 v�['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="R66009fd61e124b39" /></Relationships>PK v�[��� � 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 v�[R�A� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ة���ݰa[z��Q;�]�gc���V� �X��j4��'�|�lvo�H^0���ʂA�}7���S2w���n�8��'��H� ؔ�5�Q[�T,��.w��J9 =��>�銱��%���p��?Do̠���ӄ.���>�EL@*��)Ez e��@����fS��J�D� z3���#�_��|!ӕ�ApYK)��ZyS�v�)�K/���ڪ�8�Lr��0�]���_l� PK v�[Ѓ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 v�[�/�� � 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- v�[�J'� 5 xl/workbook.xmlPK- v�[���� � [Content_Types].xmlPK- v�['O_' ' V _rels/.relsPK- v�[��� � � xl/worksheets/sheet1.xmlPK- v�[R�A� P 2 xl/_rels/workbook.xml.relsPK- v�[Ѓc'2 E y xl/styles.xmlPK- v�[�/�� � � xl/sharedStrings.xmlPK � �