One thing to bear in mind when Doing the job with the PrestaShop API is authentication. You'll have to generate an API key within the back office and contain it in your requests. Without proper authentication, your requests will probably be turned down. I am battling to know the authentication https://addons.prestashop.com/pl/seo-pozycjonowanie-naturalne/31857-automatyczne-google-rich-snippets-json-ld-opengraph-seo.html