POST api/customer/{id}/adjustBalance

Adjust customer card value, to return available spending $ after void

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

card identifier

string

Required

Body Parameters

CardAdjustment object

CardAdjustment
NameDescriptionTypeAdditional 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": "7kO7YoxuWEqSaCt2oqQ1jA==",
  "idempotentGuid": "62bb43ee-6e8c-4a58-9268-2b76a2a4358c",
  "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>62bb43ee-6e8c-4a58-9268-2b76a2a4358c</IdempotentGuid>
  <IdempotentID>7kO7YoxuWEqSaCt2oqQ1jA==</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

boolean

Response 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:
PKl7�Z�%���5xl/workbook.xml �(�����0��J}�(�B�A���k���&�$(IE�R�n�����ɺ���'=_���Ƃ1�J��OvDw�:
!J�bV�bm۷FX�$g�p����R����X~t���A+J�2�:�s����/2[��$l
��_`���%�!%�s�J�R�
�G�_�f)
q���wg���PKl7�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
l7�Z�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="R39fccf39c903468a" /></Relationships>PKl7�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�PKl7�Z�,�t�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞��qP�nذ-��q�q�Ďl��Xp$��U$p%l����I3�����<�q�^1 ��G7tpL�F�v���R��v\"�+.v`SZ�)���b�t�c|�U�i��A
Hk�V4��d��i���1����3�����p�1٫0`���9�*S�<��j!�[�9��z5��N�_�0�Vr�-kn���Ue�
�?��/]:��BMމV1)��e���Y�^���PKl7�ZЃc'2E
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��PKl7�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-l7�Z�%���5xl/workbook.xmlPK-l7�Z����	��[Content_Types].xmlPK-
l7�Z�a�''U_rels/.relsPK-l7�Z�����xl/worksheets/sheet1.xmlPK-l7�Z�,�t�P1xl/_rels/workbook.xml.relsPK-l7�ZЃc'2E
vxl/styles.xmlPK-l7�Z�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKl7�ZϖV-�5xl/workbook.xml �(�����0��&�C��@� )��x��}�E�O�||K	$޼���~;|�v|j=����+mE�Mɘk��Nڠ
�^[	>H�b��E��n��gY�\��	���
�8���a9c:7 z9�(	B��x �/�ge0���I�b�)a�ETD�Ċ6���ܺ����R��^�Y�?�"��\���a�m��/PKl7�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
l7�Z���''_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="R9e7a9e7f1723459d" /></Relationships>PKl7�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�PKl7�Z󵠛�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞�I�4��vÆm�{�DMl�v���G�
XE�Tb�������4����ݿ�yAFkZ�3��j4}����DLa] iń�݆� �EȬC�:��YĔ��:!O�GZ0VS�d�-�/�C�Z��<�h�`�j�)��Q�c?�@�!�ȓj��TEQu��Q	ވ5z7�/�_��|!S�ݚk��r%y)�]e�Q=G�.�tZ�jy]iUt����E�W5z��/PKl7�ZЃc'2E
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��PKl7�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-l7�ZϖV-�5xl/workbook.xmlPK-l7�Z����	��[Content_Types].xmlPK-
l7�Z���''U_rels/.relsPK-l7�Z�����xl/worksheets/sheet1.xmlPK-l7�Z󵠛�P1xl/_rels/workbook.xml.relsPK-l7�ZЃc'2E
xxl/styles.xmlPK-l7�Z�/����xl/sharedStrings.xmlPK��