What are WooCommerce API keys?
API keys are very secure. Sharing your keys with Warehut doesn’t give us or your shipper control over your store. The keys simply allow your shipper to see basic order information, so they know what to pack and where to send each order.
It takes less than 5 minutes to generate a set of keys, and the good news is that you only have to do it once.
How do I generate a WooCommerce API key?
Log in to your WooCommerce store. Click on "WooCommerce" in the left-hand menu, and then on "Settings". Click on “Advanced”, then “REST API”, then “Add Key”.
Enter a name for your key so that you can identify it, for example, “Warehut”. It’s common practice to have a separate API key for each platform that requires access to your store, so you may have multiple keys. Enable read/write permission. Warehut needs write access to write tracking details to your database every time your shipper fulfills an order. Click on “Generate API Key”
You have now generated a set of WooCommerce API keys. Keep these safe. They grant access to important data from your store. Please be aware that once you navigate away from the page, you won’t be able to see the keys again. You should immediately copy and paste them somewhere secure, such as a password manager. Then, when you need to enter them in the Warehut app (i.e. during onboarding), you can simply copy them from your password manager and paste them directly into Warehut.
The final step is to navigate to “Legacy API” and “Enable the legacy REST API”, then click on “Save changes”.
That’s it! You’ve successfully generated a pair of API keys for your WooCommerce store.
Troubleshooting
- If you run into any problems, reach out to our customer support and we'll do our best to help.
- If you lose your keys before pasting them into the Warehut app, there’s unfortunately nothing we can do — you’ll have to repeat this process from the very beginning to generate a new pair. You can, however, generate an unlimited number of keys, so don’t worry too much if you lose one.