python-intercom icon indicating copy to clipboard operation
python-intercom copied to clipboard

Multiple companies per user custom attributes not displaying on intercom

Open serkanozer opened this issue 6 years ago • 0 comments

When I'm trying to add multiple companies per user custom attributes are displayed on intercom only one company but not on the others:

 companies=[{'company_id': x, 'name': f'{x}', 'custom_attributes': {"test_attr": f"{x}"}} for x in [1, 2, 3]]
intercom.users.create(**{'user_id': 1, 'email': '[email protected]', 'companies': companies})                     

this updates user and companies properly and companies listed on the user's page properly with test_attr is displayed for all companies. When i go to individual company pages test_attr is only shown in one of the companies created, for the two others the fields seems "Unknown"

serkanozer avatar Jun 26 '19 20:06 serkanozer