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": "RPiGqpwXFUWV53abZLHIsQ==",
"idempotentGuid": "aa86f844-179c-4515-95e7-769b64b1c8b1",
"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>aa86f844-179c-4515-95e7-769b64b1c8b1</IdempotentGuid> <IdempotentID>RPiGqpwXFUWV53abZLHIsQ==</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 � (� ����0D�&�C�� *�N\�z�EhK��|o�vfg����kcz�Q�v�-h���3�D�
�Ɍ�î5V�Ҿ�i[)�2�P{v���8��F�N����Xn����V��iy<��fO��[d0���I�b�)����E
Z�J��4���2@�d�&�:�.1�tg�0�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
��\��A' ' _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="R03a268c791f64f33" /></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 ��\�`9�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8Ә�i7lؖ^`쌓���.г��H\�H�J,�t5��ӓf>�?6��id/���lE�#�];خ�S4wv�͞F�i"��XZ���>�y�y�=M27�M���1���3�#v��<_q�d�5��3���4=:}���?����c�"���b?��/���S��I���^URX�7S�<R����2�,E���� *en*ӣ��9�t�Ӳ�PHJW+IF*QqQ�W��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-
��\��A' ' U _rels/.relsPK- ��\��� � � xl/worksheets/sheet1.xmlPK- ��\�`9�� 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�p�0�p��Ճ��@�����O ��mgv������ڞ}�`B�K.ct@h$i'��L��z�q����TC�mޚL�K�d�i��� R��W�?��<a$Q�ÊҨ������h�����l2XC�l�X3���5F�lqnm�Ϝ�BM�=�b���I�I��9��;L����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
��\_�%B' ' _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="Rfe389111ac3f4fbe" /></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 ��\~��6� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�IM��ݰa[z��=��&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ��P��w�� FNy=���S2w-l7����D��Y^q�����yT�&������a����{�5K\3��<��ޘAѣW��\��_}8FK���1�:�)E~ e����t��E��H�Q�Z6����b:�����������o*c1�~N!_z�,/��,qu�Fץ4�����|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-
��\_�%B' ' U _rels/.relsPK- ��\��� � � xl/worksheets/sheet1.xmlPK- ��\~��6� P 1 xl/_rels/workbook.xml.relsPK- ��\Ѓc'2 E
v xl/styles.xmlPK- ��\�/�� � � xl/sharedStrings.xmlPK � �