Edit your functions.php and .htaccess file and install Rest API oAuth plugin to make a complete rest api and if you are facing some problem in the authentication then goto woocommerce (WC) and add a api from the setting add a user by defining the user. Paste functions.php and .htacces with the provided code in this video and i hope it will fix your issues.