but I am not able to fetch associatedVids because it is an array object and not normal int or text. I wanted to get this value so I can do lookup between deals API and Contact API to get Deal name + Purchase order number + deal description + Contact delivery information + phone + shipping Address
please help me make the relation between APIs to get the above columns.
All's well. Thank you! I hope the same for you too!
When looking to understand the relationship between company, deals and contact API, you can refer to this ERD diagram: HubSpot ERD.
For your use case, when you retrieve the contact ID in the associatedVids array, you can use the CRM v3 contacts endpoints to get more information of the contact by the contact ID.