How to set the 'accepts_marketing' field using Multipass API?

Hi,

I’m starting to use the Multipass feature for the login.

It works, the account is created, all fields are working, except the field “accepts_marketing” which is the flag for the newsletter campaigns, whether I set it to false or true it will always say “Unsubscribed”.

This is me creating the json for the user (I’m using Python in the backend)

url = _multipass({
        "email": email,
        "verified_email": True,
        "first_name": given_name,
        "last_name": family_name,
        "tag_string": "multipass-login",
        "identifier": userid,
         "remote_ip":  remote_ip,
        "accepts_marketing": True
    })

It works if I set it (after the registration) through the Admin Api, but I’d rather avoid that call if possible.

Does anyone know if is possible to set that field using the Multipass api?

1 Like

I encounter the same problem. Is your problem solved?

1 Like

Nope, I think is not possible. Ended up doing a second call.

Looks like this is the only way so far. I have submitted a ticket to partner support. If it got answered, I will update here.

1 Like