HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

changeRecipientId2

Changes the ID of a recipient in Optimizely Campaign.

This method is especially useful when email addresses are the primary key of your recipient list. If you change a recipient's ID, all historical information is preserved and assigned to the new ID.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
recipientIdStringOld ID of the recipient
newRecipientIdStringNew ID of the recipient

Return values

  • Code structure

    void changeRecipientId2(String sessionId, String recipientId, String newRecipientId)
    

What’s Next
Did this page help you?