Guides › How to Create a WooCommerce REST API Key
How do I create a WooCommerce REST API key and secret?
In WordPress admin, go to WooCommerce, Settings, Advanced, then REST API, and click Add key. Give it a description, pick an administrator as the user, set Permissions to Read/Write, and click Generate API key. Copy the Consumer key and Consumer secret straight away: WooCommerce shows the secret only once.
What you need
- A WordPress administrator login for your store
- WooCommerce installed and active
- A store served over HTTPS
Steps
- Log in to your WordPress admin and open WooCommerce, then Settings.
- Click the Advanced tab, then REST API.
- Click Add key. If you have no keys yet, the button reads Create an API key.
- Description: enter a name you'll recognise, such as Export Stash.
- User: choose an administrator account. The key acts as this user.
- Permissions: choose Read/Write. Read alone can't update order statuses after an export.
- Click Generate API key.
- Copy the Consumer key (starts with ck_) and the Consumer secret (starts with cs_). WooCommerce shows the secret only on this screen, so copy it before you leave.
- Paste both into the Export Stash key form and click Save and continue.
Good to know
- If you lose the secret, delete the key and generate a new one. WooCommerce can't show it again.
- Keep the secret private: anyone holding it can read, and with Read/Write change, your store's data.
- To cut off access, open WooCommerce, Settings, Advanced, REST API and Revoke the key.
- Prefer not to copy keys? Sign up at exportstash.com/woocommerce and approve access in WordPress admin instead.
Troubleshooting
- The REST API tab is missing: update WooCommerce, and make sure you're logged in as an administrator.
- Export Stash rejects the key: check there are no spaces around the key or secret, that Permissions is Read/Write, and that the store uses HTTPS.
- Requests are blocked: some security plugins and hosts block the REST API. Allow requests to /wp-json/wc/v3 from Export Stash.
FAQ
Where is the WooCommerce REST API setting?
In WordPress admin under WooCommerce, Settings, Advanced, REST API.
Does the key need Read/Write permission?
Yes for Export Stash. Read lets it export, and Write lets it move exported orders to another status after a run.
Can I see the consumer secret again later?
No. WooCommerce shows it once. Delete the key and generate a new one if you lose it.
Is it safe to give Export Stash a key?
The key only works against your store's REST API, and you can revoke it from the same REST API screen at any time.
Connect your WooCommerce store to Export Stash — free for 7 days.
More guides
- How to Export WooCommerce Products to CSV Automatically
- Auto-Export WooCommerce Orders to CSV or Google Sheets
- WooCommerce Google Shopping Feed Without a Plugin
- BigCommerce CSV Import: Bulk Import Products from CSV
- BigCommerce Inventory Sync to eBay, Matched by SKU
- Update BigCommerce Stock & Prices from a Supplier File
- BigCommerce Google Shopping Feed Setup for Merchant Center
- Google Shopping Profit Margin Labels for BigCommerce
- Export BigCommerce Orders to Google Sheets Automatically
- Export BigCommerce Orders to QuickBooks Online
- Export BigCommerce Orders to Xero Automatically
- How to Create a BigCommerce Facebook & Instagram Feed
- How to Schedule a BigCommerce Product Export to CSV
- BigCommerce to SFTP: Scheduled Product & Order Exports
- BigCommerce Shipment Tracking: Bulk Upload Tracking Numbers
Updated 2026-12-02 · FAQ · Compare · Help Centre