API: Query deal including associations with a single request
SOLVE
Is there are more effcient way, to GET a deal including all associations to line items, company and contact in less requests. Currently I have to execute a 7 requests to get the information:
- GET the deal
- GET the line item ids by querying the associations of a deal
- GET the line items from the line items API
- GET the contact id by querying the associations of a deal
- GET the contact from the contacts API
- GET the company id by querying the associations of a deal