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.