Best way for create, update product woocommerce from external xml

I want to create, update products from external xml link. I will put php file in cronjobs so it could run scheduled.

What is the best way ?

  1. Using Woocommerce REST API
  2. Using WC_API_Products class (is there docs for this class?)
  3. other method ?

nobody knows ? :///

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.