We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce02fc commit 6687ec0Copy full SHA for 6687ec0
README.md
@@ -87,18 +87,19 @@ from intercom import User
87
# Add a user to one or more companies
88
user = User.find(email="bob@example.com")
89
user.companies = [
90
- {company_id 6, name "Intercom"},
91
- {company_id 9, name "Test Company"}
+ {"company_id": 6, "name": "Intercom"},
+ {"company_id": 9, "name": "Test Company"}
92
]
93
user.save()
94
# You can also pass custom attributes within a company as you do this
95
96
{
97
- id6,
98
- name "Intercom", custom_attributes {
99
- referral_source "Google"
100
- }
101
+ "id": 6,
+ "name": "Intercom",
+ "custom_attributes": {
+ "referral_source": "Google"
+ }
102
103
104
105
# Find a company by company_id
0 commit comments