Back to Documentation

Connect WooCommerce

Import WooCommerce orders into InventoryInsights using a WooCommerce REST API key.

Step 1: Create an API key in WooCommerce

  1. 1

    In WordPress admin, go to WooCommerce → Settings → Advanced → REST API and click Add key.

  2. 2

    Give the key a description such as InventoryInsights, choose an administrator as the user, and set permissions to Read. Read access is enough to import orders.

  3. 3

    Click Generate API key. Copy the Consumer key (starts with ck_) and Consumer secret (starts with cs_) right away. WooCommerce only shows the secret once.

Step 2: Connect it in InventoryInsights

  1. 1

    In InventoryInsights, open Settings → Integrations and choose Add Integration, then pick WooCommerce.

  2. 2

    Enter your site URL (for example https://your-store.com), the consumer key and the consumer secret.

  3. 3

    Save the integration, then open its settings and run Test connection.

  4. 4

    Orders are pulled on a schedule (every 60 minutes by default) and appear on the Sales page.

Keep the consumer secret private

Treat the key like a password. If it is ever exposed, revoke it in WooCommerce and create a new one, then update the integration.

Troubleshooting

The site URL is rejected
The URL must use https:// and be reachable from the public internet. Local or private addresses and plain http sites cannot be connected.
Test connection fails with an authorization error
Re-check the consumer key and secret for typos or extra spaces. If the error mentions permissions, create a new key with Read/Write permissions and update the integration.
Test connection fails but the keys are right
WooCommerce's REST API needs pretty permalinks. In WordPress go to Settings → Permalinks and choose anything other than Plain. Also check that a security plugin or firewall is not blocking /wp-json/ requests.
Orders are missing
Syncs run on the schedule shown in the integration settings. Run Test connection to confirm access, then wait for the next sync.