Update Recipient

Description

The updateUserRecipient endpoint is used to update the details of an existing loyalty recipient associated with a user.

Request

Endpoint

/ui/v1/updateUserRecipient

Method

POST
Content-Type: application/json

Request Body

{
    "id": 4,
    "createdDateTime": 1752174723000,
    "lastUpdatedDateTime": 1752176455000,
    "userId": "692",
    "recipientNickname": "CUVA",
    "recipientLastName": "Velaatlanta",
    "recipientLoyaltyRewardsNumber": 10000000000005,
    "recordStatus": {
        "value": "Active",
        "name": "ACTIVE"
    },
    "useThisRecipientAsDefault": true,
    "message": null
}

Response

{
    "id": 4,
    "createdDateTime": 1752174723000,
    "lastUpdatedDateTime": 1752176455000,
    "userId": 692,
    "recipientNickname": "CUVA",
    "recipientLastName": "Velaatlanta",
    "recipientLoyaltyRewardsNumber": 10000000000005,
    "recordStatus": {
        "value": "Active",
        "name": "ACTIVE"
    },
    "useThisRecipientAsDefault": true,
    "message": {
        "code": "43",
        "type": {
            "name": "SUCCESS"
        },
        "include_i_icon": false,
        "description": "USER_RECIPIENT_MODIFICATION_SUCCESS",
        "parameters": [
            {
                "name": "LAST_NAME",
                "value": "Velaatlanta"
            }
        ]
    }
}

Updated As Of Version 6.6.x