One thing to keep in mind when Operating with the PrestaShop API is authentication. You'll need to produce an API important inside the back office and incorporate it in your requests. Without suitable authentication, your requests is going to be rejected. Documentation is vital. Often check with the official reference https://addons.prestashop.com/fr/seo-referencement-naturel/31857-seo-automatique-google-rich-snippets-json-ld-open-graph.html