DaveHerbert Posted April 1, 2023 Share Posted April 1, 2023 Could anyone please give an example of using the api with php to retrieve product info from loyverse. Thanks. Link to comment Share on other sites More sharing options...
Jonnas8 Posted May 29, 2023 Share Posted May 29, 2023 Hi! Though I am not as well versed with using PHP to call an API with, the idea should still be generally the same. Though, in PHP, you would have to use a cURL extension to be able to call the API endpoints that is provided in Loyverse's API Documentation. This is a guide that I used prior to help get a basic idea on how to get started calling APIs via PHP: https://rapidapi.com/blog/how-to-use-an-api-with-php/ Hope this helps! Link to comment Share on other sites More sharing options...
DaveHerbert Posted July 27, 2023 Author Share Posted July 27, 2023 I figured it out using web hooks and a small php script to update the inventory and product details on my Litecart website and it works flawlessly Link to comment Share on other sites More sharing options...
Recommended Posts