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

Steps

  1. Log in to your WordPress admin and open WooCommerce, then Settings.
  2. Click the Advanced tab, then REST API.
  3. Click Add key. If you have no keys yet, the button reads Create an API key.
  4. Description: enter a name you'll recognise, such as Export Stash.
  5. User: choose an administrator account. The key acts as this user.
  6. Permissions: choose Read/Write. Read alone can't update order statuses after an export.
  7. Click Generate API key.
  8. 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.
  9. Paste both into the Export Stash key form and click Save and continue.

Good to know

Troubleshooting

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

Updated 2026-12-02 · FAQ · Compare · Help Centre