Skip to main content
Solved

Update user attribute by api or sdk

  • 17 July 2023
  • 1 reply
  • 299 views

Hello everyone,

I wanted to update the user attributes, I am using customer io client and identify function to update the user attribute, but it seems not to be working, its not updating the user attributes.

this is how I am calling this function to update the user attribute in python.
  response = client.identify(id="b9a60800d701d801", email="test@test.com")


here id is the identifier of an user and I want to update his email but unable to do it.

would really appreciate the community help here.
Thanks
 

Best answer by Byron

Hello,

 

Are you using our Python library? Our Python library docs provide an example for creating/updating people: https://github.com/customerio/customerio-python#create-or-update-a-customerio-customer-profile

 

Try this:

cio.identify(id="b9a60800d701d801", email='test@test.com')

View original

Byron
  • July 17, 2023

Hello,

 

Are you using our Python library? Our Python library docs provide an example for creating/updating people: https://github.com/customerio/customerio-python#create-or-update-a-customerio-customer-profile

 

Try this:

cio.identify(id="b9a60800d701d801", email='test@test.com')


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings