POST pos/bonus/balance
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiAddCustomerBonusesRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
Type | CustomerBonusType |
None. |
|
Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "Type": 1, "Amount": 1.0 }
application/xml, text/xml
Sample:
<ApiAddCustomerBonusesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Amount>1</Amount> <CustomerId>1</CustomerId> <Type>Loyalty</Type> </ApiAddCustomerBonusesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |