Please follow the following steps in order to obtain the WooCommerce API. 

(complete walkthrough can be found here: https://docs.woocommerce.com/document/woocommerce-rest-api/)


Requirements

It’s required turn on the WordPress permalinks on Settings > Permalinks.


Enable REST API

To enable the REST API within WooCommerce, visit the WooCommerce > Settings > API tab and tick the Enable REST API checkbox.


Generate API keys

The WooCommerce REST API works on a key system to control access. These keys are linked to WordPress users on your website.

To create or manage keys for a specific WordPress user, go to WooCommerce > Settings > API > Keys/Apps.

REST API breadcrumb


To get started, select Add Key:

Add Key


Select the User you would like to generate a key for in the User field and add a Description. Choose the level of access for this API key, which can be Read access, Write access or Read/Write access. Then select the Generate API Key button and WooCommerce will generate API keys for that user.

Generate Key


Now that keys have been generated, you should see two new keys, a QRCode, and a Revoke API Key button. These two keys are your Consumer Key and Consumer Secret.

API keys

Place your consumer key and consumer secret in the application that uses the WooCommerce API (the application should request your URL as well).