I have my main domain website with woocommerce products in one wordpress account(lets say WPAcc1) and my sub-domain(which is a blog) in another wordpress account(WPAcc2).
However, to access the woocommerce products that are present in WPAcc1 in WPAcc2, I'm just replicating the product here in WPAcc2 as well.
I've tried accessing the product through Woocommerce API. But, failed to retrieve the details. Is there any better way for that? or Can someone provide me insight on how can I use Woocommerce API to retrieve products from WPAcc1 to WPAcc2 in json format?