Does createOrUpdate "opt in" the constituent?

Options
We've been using createOrUpdate() method of the open API for several years with a form that we know almost always gets valid email addresses.   It assigns two interest ids, for newsletters.  We only pass the email address and the interest ids to the method, no other data.


However, we've just realized that for this group of constituents, 90% of them are marked as 'Accepts Email = No'.  This is NOT in line with the results for other people who've signed up for those interests using some methods that, for the user, are very similar, but aren't using the API.


We're having real problems understanding how this might be.   I was thinking that perhaps there's an additional "email opt in" parameter required that I'm not seeing in the documentation?


Any help appreciated.
Tagged:

Comments

  • Erik Leaver
    Erik Leaver Blackbaud Employee
    Ancient Membership 250 Likes 100 Comments Photogenic
    Hi William,


    I think you are correct. Create or update just creates the record but doesn't opt them into email. You might want to use the submit survey api call if the primary purpose is to get them signed up to an email list. 


     
  • Thanks, Erik --    

    I've been using the Survey API for some other things, but we've been using createOrUpdate for almost 10 years for mailing list signups. 


    Can we get confirmation whether using createOrUpdate will default a new record's "accepts email" value to "No"?  
  • Erik Leaver
    Erik Leaver Blackbaud Employee
    Ancient Membership 250 Likes 100 Comments Photogenic
    William, 

    The best place to get a definitive answer to this question is to ask support. 


    Cheers,

    Erik
  • Yeah, we've got a ticket in related to this, I was hoping the information was available publicly rather than waiting for resolution over the holidays.
  • William Tam:

    Yeah, we've got a ticket in related to this, I was hoping the information was available publicly rather than waiting for resolution over the holidays.

    Can you include accepts_email as a parameter?


    It's not explicitely listed, but you can use listUserFields to return the list of the Constituent record fields the caller may specify as parameters on create or update. I bet that's a field you can pass in.

Categories