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
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": "e8a1H9kzkEGvC2Q5hXMTgw==",
"idempotentGuid": "1fb5c67b-33d9-4190-af0b-643985731383",
"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>1fb5c67b-33d9-4190-af0b-643985731383</IdempotentGuid> <IdempotentID>e8a1H9kzkEGvC2Q5hXMTgw==</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 �1�\�6��� 5 xl/workbook.xml � (� ����0��&�C���$8q���{��m�?ik��-%�x�3;��4�q�����Y�ڵX�`kB�(@11t�M�)�tOb�I�Л�@�g%f��^H��F���ƽ j�P�I��� �fm����$���]MD��M5 v\$�4S���Qrn��W�\-�p*�i^f��,h��k����PK �1�\���� � [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�\�0p' ' _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="R9fa2b0ead9974461" /></Relationships>PK �1�\��� � 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 �1�\�T��� P xl/_rels/workbook.xml.rels � (� ��An� E��f_�
��*N6�d��ۊ
��9[=R�P�H-���&+4��i������m�}�m�,����v-��yX�f���(c��a$=���>���Ҡz�d(܌6u����:�i�XM}[&�_f��3(|v�4�������#F {�;�-�D�~e��@���ݡ����5ׂ�
z7�/#�_�k�ɔ��\b���L�U���K�iӹSgj�e*]��#
ίs�7�b�PK �1�\Ѓ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 �1�\�/�� � 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- �1�\�6��� 5 xl/workbook.xmlPK- �1�\���� � [Content_Types].xmlPK-
�1�\�0p' ' V _rels/.relsPK- �1�\��� � � xl/worksheets/sheet1.xmlPK- �1�\�T��� P 2 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
y xl/styles.xmlPK- �1�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\���� 5 xl/workbook.xml � (� ����0��&�C����D��x��})[i�?ik��-%�x�3;��Գq�ޘ��I��5t�V�y>�2u� ��(ݓ!$���BX�e%s8A�F�QZOW�?,o��GĠ��@j���K����'���b���o�N��")�AaC;@IrnCCϔ�J��Ρ�>�2ϯ��dHw������PK �1�\���� � [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�\}��c' ' _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="R64df6ac78590470a" /></Relationships>PK �1�\��� � 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 �1�\�'��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞����i7l�-����I�Ķl�г��H\�J�J,�t5��ӓf>�?�۷e>~2��<c@P#'=�p
ꡃ�f�Ǚ�8���zW��a�>R�ň����cG��S7P�őH��R�2��b�?D��$�Ɉӂ:��������0��S��;�Y�����W��aS+U��л��p���z]�D��e�Z���U�bwW��;����K�Ni9Qkʺ,:VԲm�U{U�7��PK �1�\Ѓ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 �1�\�/�� � 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- �1�\���� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\}��c' ' U _rels/.relsPK- �1�\��� � � xl/worksheets/sheet1.xmlPK- �1�\�'��� P 1 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
v xl/styles.xmlPK- �1�\�/�� � � xl/sharedStrings.xmlPK � �