0

I am trying to access my site's Subscription Products via REST API. At wc/v1/subscriptions I can get the active subscriptions, and at wc/v3/products I can get all products except subscriptions.

There isn't anything in the WC Subscriptions documentation about subscription products. This site implies that I can provide an API for this, but I am not a PHP programmer. I do have access to the server and can put code in functions.php or wherever it would belong.

Can anyone provide me with the code to achieve this? I ask here because I hope it's relatively simple, like the get_posts_meta code I've found on a number of blogs/sources to expose some other API data.

Thanks a lot.

mujuonly
  • 11,370
  • 5
  • 45
  • 75
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129
  • Did you check here? https://docs.woocommerce.com/document/subscriptions/develop/ – jasie Aug 27 '19 at 15:23
  • I think, you have a better chance of getting an answer, here: https://wordpress.stackexchange.com/ – jasie Aug 27 '19 at 15:24

0 Answers0