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.

Steps to Generate the API Keys
- Open WooCommerce Settings: Go to WooCommerce → Settings.

- 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.

- 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.

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

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

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
- What features does Stock Sync support when connecting to WooCommerce? → See the supported features, limitations and technical notes once your API key is connected.
- Stock Quantity (WooCommerce) → Learn how to map and manage stock quantity in your WooCommerce feed.
- What is the difference between Add feed and Update feed in Stock Sync? → Understand which feed type to use to add new products or update existing ones.
Updated on: 13/11/2026
Thank you!
