Kyle Moloney
Procurement & Operations | 10+ Years
Kyle has spent over a decade managing procurement and operations for manufacturing companies ranging from small food producers to mid-size contract manufacturers. He now writes about practical inventory management, supply chain, and production operations.
Connecting WooCommerce to Nstock takes about fifteen minutes, and unlike Nstock's Shopify integration, it doesn't use OAuth. You generate your own REST API credentials inside WordPress and paste them into Nstock. That's it — no app authorization screen, no redirect flow. For the bigger picture on what the integration actually does once it's connected, see WooCommerce Inventory Integration: Sync Orders and Stock Automatically.
This walkthrough matches Nstock's in-app setup guide exactly (you'll find it under Integrations once you're logged in), with a bit more context on why each step matters.
Step 1: Log Into Your WordPress Admin
Sign in to your store's WordPress dashboard as an administrator. You need admin-level access to generate REST API credentials — a shop manager or editor role typically won't have access to the Advanced settings tab.
Step 2: Navigate to WooCommerce → Settings → Advanced → REST API
From the left-hand WordPress admin menu, open WooCommerce, then Settings, then the Advanced tab, then the REST API sub-tab. This is where WooCommerce manages every third-party integration's access to your store's data — Nstock is just one more entry in that list.
Step 3: Click "Add Key" and Select Read/Write Permissions
Click Add key. Give it a description you'll recognize later — something like "Nstock Integration" — and set the permissions to Read/Write. Read/Write is required: Nstock needs to read new orders as they come in, and it needs to write order status updates back to WooCommerce so both systems stay in sync.
Step 4: Generate the API Key
Click Generate API key. WooCommerce creates a Consumer Key and Consumer Secret pair scoped to the permission level you selected.
Step 5: Copy the Consumer Key and Consumer Secret Immediately
This is the step people get caught on. WooCommerce only shows the Consumer Secret once, at the moment it's generated. If you close the page, refresh, or navigate away before copying it, the Secret is gone for good — you'll have to delete the key and generate a new one. Copy both values into a temporary note before doing anything else.
Step 6: Paste the Store URL, Consumer Key, and Consumer Secret Into Nstock and Click Connect
Log into your Nstock account and go to Integrations → WooCommerce. Enter your store's full URL (e.g., `https://yourstore.com`), then paste in the Consumer Key and Consumer Secret you just copied. Click Connect to WooCommerce.
Nstock stores these credentials server-side — they're never exposed in the Nstock UI or to your team's browsers after this point. If the connection succeeds, you'll see a confirmation showing your connected store URL.
Step 7: Turn On the Sync Settings You Want
Connecting the store doesn't automatically turn everything on. Once you're connected, Nstock's WooCommerce page shows three sync toggles:
- Automatically create Nstock orders from WooCommerce — when an order is created or updated in WooCommerce, a corresponding order is created in Nstock. This is the toggle most stores want on from day one.
- Automatically deduct inventory on WooCommerce fulfillment — when an order is fulfilled in WooCommerce, Nstock automatically deducts finished products (and boxes, if applicable) from inventory using the same FEFO lot-selection logic that runs for every other order in Nstock. WooCommerce surfaces fulfillment through order updates, so this uses the same webhook as order updates.
- Restock Nstock inventory on WooCommerce refunds — when an order is refunded in WooCommerce, the refunded items are added back to Nstock inventory automatically.
Turning on a toggle registers the WooCommerce webhook it depends on behind the scenes — you don't need to configure webhooks manually in WordPress.
If you're migrating an existing store, you can also import historical orders from the same page: pick a date range and Nstock pulls in past orders, skipping any that already exist so you don't end up with duplicates.
Frequently Asked Questions
What if I don't see the REST API option?
The WooCommerce plugin must be installed and active on your WordPress site. If you only see WordPress's default settings without a WooCommerce menu, install and activate the WooCommerce plugin first — the REST API settings will then appear under WooCommerce → Settings → Advanced.
Can I revoke access later?
Yes, in two ways: delete the API key from WooCommerce's REST API settings in your WordPress admin, or disconnect the integration from the WooCommerce page in your Nstock account at any time. Either one immediately cuts off Nstock's access to your store.
What data does Nstock actually receive?
Order data only — customer name and email, line items and quantities, order totals, and fulfillment/refund status. Nstock doesn't pull your product catalog, customer list, or store settings beyond what's needed to process orders and keep inventory accurate.
Do I need a developer to do this?
No. Every step happens in the WordPress admin UI and the Nstock UI — there's no code to write and no server configuration to touch. If you can generate an API key in a settings page and paste two values into a form, you can complete the whole connection yourself.
Next Steps
Once connected, WooCommerce orders flow into Nstock automatically, and — if you turn on the fulfillment toggle — your inventory stays accurate without anyone touching a spreadsheet. For the full picture of why this matters and who it's for, read WooCommerce Inventory Integration: Sync Orders and Stock Automatically. If you sell on Shopify too, Nstock supports both integrations on the same account — see the Shopify integration setup guide.
Start your free trial → — already have an account? Log in and connect WooCommerce from Integrations.
— Kyle Moloney, Procurement & Operations



