Relate deals with products

hello i wanted some help, i’m using the api, to make some requests, i’m taking the deals and products.
When I try to relate one table to another, the tables do not have a correlation column. The only way I found to make the relationship was to get the product ID and request in the API all the deals linked to the product ID, the problem of doing it this way and the time and resources I will spend.

That’s why I came to ask if there is another way for me to relate these two tables.

Hi,
The following wiki might be useful to your scenario
https://devcommunity.pipedrive.com/t/combining-data-of-related-entities-which-happen-to-separate-endpoints/4954/2

Regardless, I have added it to our #feedback list for broader attention.