File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ except ApiException as e:
67
67
#### Create contact:
68
68
69
69
``` python
70
- from hubspot.crm.contacts import SimplePublicObjectInput
70
+ from hubspot.crm.contacts import SimplePublicObjectInputForCreate
71
71
from hubspot.crm.contacts.exceptions import ApiException
72
72
73
73
try :
74
- simple_public_object_input = SimplePublicObjectInput (
74
+ simple_public_object_input_for_create = SimplePublicObjectInputForCreate (
75
75
properties = {
" email" :
" [email protected] " }
76
76
)
77
77
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
79
79
)
80
80
except ApiException as e:
81
81
print (" Exception when creating contact: %s \n " % e)
You can’t perform that action at this time.
0 commit comments