Jump to content

How to get product information using the API with php


DaveHerbert

Recommended Posts

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

  • 1 month later...

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

  • 1 month later...

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

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...