You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can create a new deal with a contact, that works great but when attempting to use the deal update and try to add a contact I am missing something.
code snippet:
var deal=api.Deal.GetById(dealId);
var contact = api.Contact.GetByEmail(contact.Email);
deal.Associations.AssociatedContacts=new []{contact.Id.Value};
api.Deal.Update(deal);
This succeeds but when I check hubspot there is no associated contact
The text was updated successfully, but these errors were encountered:
Hi @TimWhitbeck, I think that I will try to add an easier way to associate the contacts with the deal. Possibl add a dedicated method to the Deal. Thank you again for bringing this up!
I can create a new deal with a contact, that works great but when attempting to use the deal update and try to add a contact I am missing something.
code snippet:
var deal=api.Deal.GetById(dealId);
var contact = api.Contact.GetByEmail(contact.Email);
deal.Associations.AssociatedContacts=new []{contact.Id.Value};
api.Deal.Update(deal);
This succeeds but when I check hubspot there is no associated contact
The text was updated successfully, but these errors were encountered: