In this video post I’ll show you the plugin I like to use to control access to the WooCommerce REST API endpoints.
Using the following plugin I can deny access, grant full access to grant granular access to an endpoint depending upon whether you are logged in or have a certain role on my site.
Video
Wrap Up
The same results can be achieved by adding code to your site, but I find this plugin allows you to monitor for new endpoints, if you add a new plugin for example and doesn’t require constant updates to code, jsut the click of a toggle box on an endpoint.
If you need help developing a rest API solution for your WordPress site please get in touch.
Photo by Eduardo Soares on Unsplash