Commerce & billing
Set up WooCommerce
Connect your WooCommerce store to make products, customers and orders searchable — orders carry their line items and link to their customer, so “what did this customer order” and “do we still stock X” answer from the store's own data. It reads your own WordPress shop over its REST API. Read-only.
The REST key pair
- A WooCommerce REST key pair — a consumer key (ck_…) and a consumer secret (cs_…) — created in the WordPress admin under WooCommerce → Settings → Advanced → REST API → Add key.
- Make it for a user with shop access, with READ permission — all this source ever needs.
- Works over HTTPS only: WooCommerce REST keys authenticate over a secure connection and nothing else, so the store must be served on an https:// address.
- In the WordPress admin open WooCommerce → Settings → Advanced → REST API → Add key, choose a user with shop access and READ permission, and copy both halves — WooCommerce shows them once.
- Documents → WooCommerce, enter Store URL (the address customers buy on, including https://) and paste the pair as Consumer key and Consumer secret. The secret is never shown again after saving; make a fresh pair if it is lost.
- Choose access groups, Test, then Sync.
What comes in
- Products — name, status, SKU, price, a coarse stock bucket (in stock / low, under 10 / out of stock) and the first 800 characters of the short description (the full one when there is no short description).
- Customers — WordPress users with the customer role only; admins and shop staff are never read. Name, email, billing company and when the account was created.
- Orders — order number, date, status, total and currency, the buyer's billing name, up to 10 line items as name × quantity = line total (a longer order says how many more) and a link to the customer's record. A guest checkout, with no account, stands on its own with the buyer's name on it.
- A customer's record sums up the orders linked to it — how many, their total and the latest date — so “how much has this customer ordered” answers from one record. Each record type also gets one overview document naming its fields and links.
Access
Access is allow-only: the groups chosen on the source cover everything WooCommerce brings in — the source exposes no per-item viewers to mirror.
Products, customers and orders each cap at 2,000, newest first; when a cap is reached the sync summary says so, and anything that ages past it stays searchable rather than disappearing. Below a cap, a record deleted in the store drops out here on the next sync. Test counts the products it can see; a rejected pair reads as WooCommerce rejecting the credentials — check the user's shop access, the READ permission and that the store is served over HTTPS. Revoke access any time by deleting the key pair on that same REST API screen.
Last updated 20 Sep 2026