I am trying to associate between a ticket to a contact using the hubspot api - node.js but having trouble would apreciate for an example on how to do it.
jan 12, 20214:12 AM - editado jan 21, 202112:28 PM
Conselheiro(a) de destaque | Parceiro Diamante
Associate Ticket to contact
resolver
Hi, I don't have the documentation of the node sdk , you should check first the parameter of the method. If the expected first parameter of the method is the ticket id you should check if createTicketResponse.body contain the id, please check doc, dump the value and post here the value of this variable
- Can you post your code (inside a code bloc, the </> icon in the formatting toolbar) so that i can help you. - What's is your issue ? An error messsage as api response ? If yes which one
This is an old thread and I'm sure it was solved, yet if someone arrives here with the same issue, you should have supplied the ticketId and the contactId, respectively, wherever you've send the body of the response.