Skip to content

Commit 9a48df9

Browse files
update README
1 parent c25a66f commit 9a48df9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ except ApiException as e:
6767
#### Create contact:
6868

6969
```python
70-
from hubspot.crm.contacts import SimplePublicObjectInput
70+
from hubspot.crm.contacts import SimplePublicObjectInputForCreate
7171
from hubspot.crm.contacts.exceptions import ApiException
7272

7373
try:
74-
simple_public_object_input = SimplePublicObjectInput(
74+
simple_public_object_input_for_create = SimplePublicObjectInputForCreate(
7575
properties={"email": "[email protected]"}
7676
)
7777
api_response = api_client.crm.contacts.basic_api.create(
78-
simple_public_object_input=simple_public_object_input
78+
simple_public_object_input_for_create=simple_public_object_input_for_create
7979
)
8080
except ApiException as e:
8181
print("Exception when creating contact: %s\n" % e)

0 commit comments

Comments
 (0)