Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)
    

Next