I am writing an external program on c++ which supposed to import products to WordPress database (it should directly connect to remote MySQL server and just execute some SQL queries to create a new product). I have all the products' properties and remote database access, but I can't completely understand how does actually WordPress serves and orders all of it in it's database. Technology is too hard for me to understand by simply walking through the real working WP database, filled in with products :c. I also haven't found any documentations or schemes on internet.
There is only very useful db scheme of relationships between different WordPress tables, but it doesn't actually describe how is the information stored in inside.
I am new (from technical side) to that CMS, so, the final question is, which tables should be affected by my program to create a new product in WP database?
Relying upon your help.