Don't forget to handle errors gracefully when Operating with the PrestaShop API. You should definitely check the status code from the reaction and tackle any errors which might be returned. It is also a good idea to log error messages for debugging functions. Under can be a non-exhaustive list of https://www.presta-addons-modules.com