PUT loyalty/settings
Request Information
URI Parameters
None.
Body Parameters
UpdateCashbackSettingsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CashbackPercentage | decimal number |
Required Range: inclusive between 0 and 100 |
|
| Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CashbackPercentage": 1.1,
"Enabled": true
}
application/xml, text/xml
Sample:
<UpdateCashbackSettingsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models"> <CashbackPercentage>1.1</CashbackPercentage> <Enabled>true</Enabled> </UpdateCashbackSettingsRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CashbackSettingsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| CashbackPercentage | decimal number |
None. |
|
| Enabled | boolean |
None. |
|
| LastModified | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"CashbackPercentage": 3.0,
"Enabled": true,
"LastModified": "2026-03-26T03:52:14.7106888+02:00"
}
application/xml, text/xml
Sample:
<CashbackSettingsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models"> <CashbackPercentage>3</CashbackPercentage> <Enabled>true</Enabled> <LastModified>2026-03-26T03:52:14.7106888+02:00</LastModified> <Message>sample string 2</Message> <Success>true</Success> </CashbackSettingsResponse>