Skip to content
View in the app

A better way to browse. Learn more.

Loyverse Town

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to get product information using the API with php

Featured Replies

Could anyone please give an example of using the api with php to retrieve product info from loyverse. Thanks.

  • 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!

  • 1 month later...
  • Author

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 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.