Enabling the API for old versions of WooCommerce
If you're using a version of WooCommerce that was released before July 15, 2015 there's a slightly different way to enable the API. This applies to WooCommerce versions 2.3.x and 2.2.x.
Permalinks are a feature in WordPress that let you use pretty URLs instead of ones that just have numbers in them. For example, with permalinks enabled, your new blog post could be a http://www.example.com/blog/how-to-enable-api-access instead of http://www.example.com/?p=591. In order for the WooCommerce API to work permalinks should be enable but it’s good practice to do this anways as there are also SEO benefits.
To enable permalinks log in to WordPress and click on Settings -> Permalinks:
To activate permalinks click on any of the options besides ‘Plain’ and then on Save Changes at the bottom of the page:
Go back to your blog’s home page. When you click on links to your blogs posts you should see that they have nicer-looking URLs. If it doesn’t seem like the URLs are working, you might need to change a server setting to get them to work. More information on that can be found in the WordPress documentation.
Activate the API
The API can be activated on the main WooCommerce settings page. Go back to your WordPress site’s administration page and click on WooCommerce -> Settings:
On the settings page make sure the Enable the REST API checkbox is checked and click the Save Changes button at the bottom of the page.
Get your API Credentials
In older versions of WooCommerce API credentials are tied to a specific user. On the main menu on the left of the WordPress admin section click on the Users tab:
Click on your username and you'll see a lot of settings you can change. If you scroll down to the bottom of the page there's a checkbox that says Generate API Key for WooCommerce:
Make sure that box is checked and reload the page.
Now, scroll down to the bottom of the page again. You should see your API credentials where the checkbox used to be:
The Consumer Key will always start with 'ck_' and the consumer secret will always start with 'cs_'.
You now have your API keys (the consumer key and consumer secret) and you can use them to setup Ablestar WooCommerce Importer to migrate to Shopify.
Don't have the app yet? Get it here