Don't forget to handle errors gracefully when working with the PrestaShop API. Make sure you check the status code of the reaction and handle any errors which have been returned. It is also a smart idea to log error messages for debugging reasons. Down below can be a non-exhaustive list https://7bookmarks.com/story20880464/5-simple-statements-about-prestashop-squarespace-theme-explained