Jump to content

How to setup the API to integrate Loyverse with Woocommerce?


muso

Recommended Posts

We are currently using the API to sync the stock-count to Woocommerce using this API, by using the receipts. 
The API works very good, responds fast and I like how the cursor works. 
 

I provided the script below for inspiration;
https://www.virtualstuff.org/scripts/syncloyverse.php.txt
 

It gets the receipts since the last few hours/days and finds the products by barcode. It simply subtracts the stock-count in Woocommerce by the amount of sales on the Loyverse-receipt. 
Everytime the script runs, it continues from the previous run by storing a "sync date"
 

It requires the PHP Woocommerce API which can be installed using the command "composer require automattic/woocommerce".
It requires modifying the firstlines for the correct API-codes. 

  • Like 1
  • Fire 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi Gemma,

 

This sounds fantastic. Maybe we can mixed our parts. I‘m programming several connections to woo, too. I‘m waiting for the Post api for a item, contact and orders... Sync, let’s stay in contact.

 

cu

martin

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

Can you please show how to import products with variations from loyverse into woocommerce. Unfortunately, I'm not good at codes, and I understand only if you show it. Please help, this is very important.

InShot_20200714_120529596.jpg

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
On 7/23/2020 at 10:04 PM, AKIBA said:

Can you please show how to import products with variations from loyverse into woocommerce. Unfortunately, I'm not good at codes, and I understand only if you show it. Please help, this is very important.

InShot_20200714_120529596.jpg

Hi @AKIBA, I hope this is not coming late. I suggest you use Integromat for the integration.They have a pretty extensive and easy to use interface that will make it easy for your to send items.
See more details here: 
https://www.make.com/en/integrations/woocommerce?fromImt=1&pc=cookiesyes

I hope you succeed.

Link to comment
Share on other sites

  • 11 months later...
  • 1 year later...

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...