One thing to keep in mind when Doing work with the PrestaShop API is authentication. You will need to make an API critical inside the back office and incorporate it in your requests. Without suitable authentication, your requests might be rejected. I'm battling to be aware of the authentication process https://www.presta-addons-modules.com