Something to bear in mind when Doing the job with the PrestaShop API is authentication. You'll need to create an API essential from the back office and include things like it in your requests. Without good authentication, your requests will be turned down. I'm battling to know the authentication approach https://addons.prestashop.com/nl/seo-zoekmachineoptimalisatie-vermelding/31857-automatische-google-rich-snippets-json-ld-opengraph-seo.html