Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Creating contact without email? #199

Open
srehne opened this issue Aug 9, 2019 · 2 comments
Open

Question: Creating contact without email? #199

srehne opened this issue Aug 9, 2019 · 2 comments

Comments

@srehne
Copy link

srehne commented Aug 9, 2019

Hi. I'm new to this gem.

In the hubspot interface I can create contacts without an email.

But I can't seem to create a contact without email through this gem.
Is that correct??

Kind Regards
Søren

@eterry1388
Copy link

Did you ever figure out how to do this @srehne ?

@eterry1388
Copy link

I was able to figure this out by just passing in nil for the email. Like this:

Hubspot::Contact.create!(
  nil,
  {
    firstname: "John", 
    lastname: "Doe", 
    phone: "555-555-5555",
  }
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants