Connect WooCommerce
Step-by-step guide to connecting your WooCommerce (WordPress) webstore with a REST API key, and turning on order import.
What it's for
Connecting WooCommerce brings your WordPress webstore's orders into OrderPilot, so they route through the same vendors and warehouse as your marketplace orders.
Where to find it
β Settings β Channels β click your WooCommerce store. Tabs: Connection, Orders, Inventory.
No WooCommerce box yet? Click β Add store, pick WooCommerce as the platform, give it a name and click Add store.
The screen at a glance
Connection tab
- Status box β "β Connected to (your store)", "β Saved but the API call failed", or "Not connected".
- Store URL β the address of your shop, for example https://yourstore.com.
- Consumer key β starts with "ck_". Leave blank to keep the saved one.
- Consumer secret β starts with "cs_". Leave blank to keep the saved one.
Orders tab
- Import orders automatically β pulls WooCommerce orders in Processing (paid, not yet shipped). Set every N minutes (at least 5) and a window of N days.
Inventory tab
- Inventory push β on/off and every N minutes (at least 15). It sends each linked listing's quantity using the same rules as Amazon and Walmart, and starts working once WooCommerce listings are linked to your catalog SKUs. The setting is saved now and takes effect then.
Buttons and actions
| Button | What it does |
|---|---|
| πΎ Save & test | Saves the store URL and keys and checks them right away. Shows "β Connected to β¦" or the error. |
| Save (Orders) | Saves the import switch, interval and window. |
| Import now | Starts a WooCommerce order import right away. Watch the Jobs log. |
| Save (Inventory) | Saves the push switch and interval. |
How to connect WooCommerce
In your WordPress admin:
- Go to WooCommerce β Settings β Advanced β REST API.
- Click Add key.
- Type "OrderPilot" as the description and pick a user who is an administrator or shop manager.
- Set Permissions to Read/Write.
- Click Generate API key.
- Copy the Consumer key and the Consumer secret. WooCommerce shows them only once.
In OrderPilot:
- Open Settings β Channels β your WooCommerce store β Connection.
- Type your Store URL (https://yourstore.com).
- Paste the Consumer key and the Consumer secret.
- Click πΎ Save & test. The status box shows "β Connected to" your store.
How to start importing WooCommerce orders
- Open the Orders tab.
- Turn on Import orders automatically, set the interval and window.
- Click Save, then Import now if you want orders right away.
How items are matched
OrderPilot matches each order line by its WooCommerce SKU. It looks for a linked WooCommerce listing first, then a catalog SKU with the same SKU, then a UPC, then a listing on another channel with the same seller SKU. A line it cannot match still comes in and is marked as unmapped on the order.
Tips and troubleshooting
- Lost the keys? WooCommerce shows them only once. Revoke the old key, add a new one and paste it here.
- "The store rejected the keys (401)". Check you pasted both the key and the secret, and that the key was not revoked.
- "No WooCommerce API at that address (404)". Check the store URL. In WordPress, Settings β Permalinks must be set to anything other than "Plain".
- "The store blocked the request (403)". A security plugin or firewall is blocking API calls. Allow requests to /wp-json/wc/v3/ in that plugin.
- Your store must use https. OrderPilot always connects over a secure address.
- An order is missing. Only orders in Processing are imported. Orders that are "On hold" or "Pending payment" come in once they are paid.
- Inventory push does nothing yet. It starts once WooCommerce listings are linked to catalog SKUs.