Generate WooCommerce API key

Requirement

  • WordPress permalinks must be set to something that is easily human readable at: Settings > Permalinks
  • Or you can navigate to your site url at: /options-permalink.php
  • Set this to anything aside from Plain should work

image

  • If you have issue navigating to this url or could not find where the settings is, you might need to have a different role to access this

image

Generate API keys

  • Go to: WooCommerce > Settings > Advanced > REST API
    Note: Keys/Apps was found at WooCommerce > Settings > API > Key/Apps prior to WooCommerce 3.4.

image

image

  • Or you can try go to this url on your site: wp-admin/admin.php?page=wc-settings&tab=advanced&section=keys
  • Select Add Key. You'll be taken to the Key Details screen.

image

  • Add a Description. ex: Reading products key
  • Select the User you would like to generate a key for in the dropdown.
  • Notes: The user you select should have either Shop manager or Administrator role in order to use woocommerce rest api
  • Select a level of access for this API key: READ otherwise it will able to mutate your data
  • Now that keys have been generated, you should see Consumer Key and Consumer Secret keys as on the image
  • Consumer Key and Consumer Secret is required for us to crawling data of products.

image


Now send the **Consumer Key** og **Consumer Secret** API keys to your Aha.is sales representative. Both keys are required for us to crawling data of products.