Articles on: Frequently Asked Questions (FAQ)

How to generate WooCommerce API key (permission)

Follow these steps to generate a WooCommerce API key if you have never created one before. The key lets syncX: Stock Sync connect to your WooCommerce store so it can read and update your products and stock.


How to Generate a WooCommerce API Key


Before generating the WooCommerce API key, check your Permalinks setting:


a. Log in to your WordPress admin panel and go to Settings → Permalinks.


b. Make sure Permalinks is NOT set to Plain.



Please make sure Settings → Permalinks is NOT set to Plain.



Steps to Generate the API Keys


  1. Open WooCommerce Settings: Go to WooCommerce → Settings.



  1. Open the REST API tab: On the Settings page, go to the Advanced tab and select REST API. Click Add key or Create an API key.



  1. Fill in the form: Give your key a clear description. Select your user, usually you as an Admin or another user with Admin privileges on your site. Set the permission to Read/Write, then click Generate API key.



  1. Copy your keys: Your API keys will be generated. You need both the Consumer Key and the Consumer Secret. Copy both.



  1. Paste the keys into syncX: Stock Sync: Paste your WooCommerce Consumer Key and Consumer Secret into the syncX: Stock Sync page.



If your store API becomes inactive, you will need to re-enter new API keys.



Key Rules & Technical Details


  • Permalinks: Permalinks must not be set to Plain for the API keys to work.
  • Permission level: The key must be set to Read/Write so syncX: Stock Sync can update your store.
  • User: The key must be linked to an Admin user, or another user with Admin privileges.



Troubleshooting Steps


  • Issue: The API key does not connect or stopped working → Solution: Check that Permalinks is not set to Plain, then generate a new key and paste both the Consumer Key and Consumer Secret again.
  • Issue: The store API became inactive → Solution: Re-enter new API keys from WooCommerce → Settings → Advanced → REST API.



Good Articles to Continue


Updated on: 13/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!