Remove Recipient As Default
Description¶
The removeUserRecipientAsDefault
endpoint is used to unset or remove the default loyalty recipient previously set for a user’s account. After this operation, no recipient will be automatically selected for loyalty-related transactions until a new default is explicitly set.
Endpoint¶
/ui/v1/removeUserRecipientAsDefault
Method¶
POST
Header¶
Content-Type: application/json
Request Body¶
{
"id": 4,
"createdDateTime": 1752174723000,
"lastUpdatedDateTime": null,
"userId": 692,
"recipientNickname": null,
"recipientLastName": "Velaatlanta",
"recipientLoyaltyRewardsNumber": 10000000000005,
"recordStatus": {
"value": "Active",
"name": "ACTIVE"
},
"useThisRecipientAsDefault": true,
"message": null
}
Response¶
{
"id": 4,
"createdDateTime": 1752174723000,
"lastUpdatedDateTime": null,
"userId": 692,
"recipientNickname": null,
"recipientLastName": "Velaatlanta",
"recipientLoyaltyRewardsNumber": 10000000000005,
"recordStatus": {
"value": "Active",
"name": "ACTIVE"
},
"useThisRecipientAsDefault": false,
"message": {
"code": "47",
"type": {
"name": "SUCCESS"
},
"include_i_icon": false,
"description": "USER_RECIPIENT_REMOVE_DEFAULT_SUCCESS",
"parameters": [
{
"name": "LAST_NAME",
"value": "Velaatlanta"
}
]
}
}
Updated As Of Version 6.6.x