How to enable the REST API

To enable the REST API within WooCommerce, go to WooCommerce > Settings > API and tick the Enable REST API checkbox.