Solved

Update user attribute by api or sdk

  • 17 July 2023
  • 1 reply
  • 212 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
 

icon

Best answer by Byron 17 July 2023, 21:32

View original

1 reply

Userlevel 2

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