REST API – how to make efficient sync algorithm?
-
I would like make syncronization between external data and Woocommerce with abstract layer. Using Woocommerce REST API should be the best way.
However there is no way i know if data already exists in target DB or not – should i INSERT or UPDATE the data.
The only way is to get all products from DB and during import check the reference SKU. The bad thing is – it includes all product fields. I can not give fields i would like to return.
What’s the best way to do make syncronization?
- The topic ‘REST API – how to make efficient sync algorithm?’ is closed to new replies.