Create, update, & manage user profiles and communication channels using Python SDK methods.
distinct_id
. It’s best to map the same identifier in your DB with distinct_id
in SuprSend. Do not use identifiers that can be changed like email or phone number. You can view synced users by searching distinct_id
on Users page.
supr_client.user.get_instance
to instantiate user object.
users.async_edit
method.
Add User Channels
user.add_*
method(s) to add user channels.Remove User Channels
user.remove_*
method(s) to remove channels.Remove Channel types
Set Preferred language
Set preferred timezone
Set
Set Once
Unset
Append
Remove
Increment
add*/remove*/unset
methods, don’t forget to call users.async_edit()
since user edit is async update and the changes will be sent to SuprSend only after calling this method.bulk_users
instance.
Use .append()
on bulk_users instance to add however-many-records to call in bulk.
limit
, before
, after
limit
, before
, after