1. Home
  2. Docs
  3. Leo Product Recommendations for WooCommerce
  4. Developer Docs
  5. REST API (Pro Feature)

REST API (Pro Feature)

To get product recommendation date for specific product use following API.

GET: /wp-json/lpr/v1/product-recommend/<id>
id: Product ID 

For example: To get production json data of product id 10

Leo Product Recommendations also provides API endpoint for getting date.

GET: /wp-json/wpr/v1/settings

Example: To get json date of WooCommerce Product Recommendations
Was this article helpful to you? Yes No

How can we help?