I want to connect a external website with the Odoo shopping cart. The site is done using Odoo web service API, now I want to connect it to Odoo eCommerce.
Watching the traffic when a product is added I see a HTTP POST to /shop/cart/update with data like:
csrf_token=XXX&product_id=99&add_qty=1
I also see a cookie with a session_id.
So my question is how to make this cookie and the csrf_token to permit adding products from outside the shopping cart.
Odoo Support answered that due of security reasons it is impossible to add products from external sites.