Connector guide — WooCommerce (woocommerce)
Fixed sections (Phase D1 format). Facts marked [Validated] are measured in code or tests; [Observed] facts carry a date; [Gap] names an open item. No credential, token, account identifier or tenant value appears in this file.
What it is
WooCommerce — the WordPress commerce plugin. For MIZ OKI it would be a commerce system-of-record rail (orders, products, refunds → order economics and the SKU list) for merchants who do not sell on Shopify (playbook §4.3, OB-GAP-3). Catalog category commerce, wave 4. Design: docs/design/connectors/woocommerce.md.
Status (measured)
[Observed 2026-10-12] available: false, wave 4, in CONNECTOR_CATALOG (services/service-marketing-connectors/connector_credentials.py) — the row is added by the C7 change this guide ships with and enumerates the fields below so the surface can name them; it collects nothing. [Validated] The onboarding UI renders an available: false row as a locked card with a "Wave 4" pill (miz-oki-command-center-ui/components/connectors/marketing-connectors.tsx, the !entry.available branch); posting any payload for the provider returns 409 provider_not_available ("is wave 4 and not yet enabled"). The honest words are "not yet available". The adapter is built only when a tenant declares demand (docs/OPEN_ITEMS.md row); never promise a date.
Who owns the account
The customer. The store, the WordPress user and the REST API key stay the customer's (law 3); the key carries that user's permissions and is created with Read permission only. There is no platform credential.
Prerequisites
- Administrator access to the WordPress site with WooCommerce active.
- The store served over https (plain-http stores are refused).
- Pretty permalinks enabled so
/wp-json/wc/v3answers.
Visibility invite (click path)
WordPress admin → Users → Add New → the Media Intelligence access seat with the Shop manager role (view orders/products; cannot change site settings), or a lower role if the store prefers. Vendor UIs drift; follow WooCommerce's current docs if a label differs.
Connecting in the onboarding UI
There is nothing to connect yet. The card is locked: it shows the label, the description and the Wave 4 pill, and has no inputs. Do not collect any of the values below by another channel (law 2, law 10); record the tenant's demand instead, so the build is demand-driven and the row can be flipped only after live verification (CDoD point 14).
Fields
| key | where the tenant finds it | format | secret? | required? |
|---|---|---|---|---|
store_url |
WordPress → Settings → General → Site Address | https URL | no | yes |
consumer_key |
WooCommerce → Settings → Advanced → REST API → Add key (permission Read) — shown once | opaque; never echoed | yes | yes |
consumer_secret |
the same screen, shown once with the key | opaque; never echoed | yes | yes |
Test connection
Not applicable until built. Today every post is 409 provider_not_available; that is the surface working as designed, not a fault to work around. The planned verdict table lives in the design note.
What it feeds
When built: commerce ingest → canonical ingest gate → mizoki_unified_data; Net Yield order economics and the SKU list that costs are keyed on (P3-1). No writeback; NET_YIELD_WRITEBACK=false untouched. No "WooCommerce merchant" readout exists — only the Shopify classification (ruling 2026-10-06).
Consent posture
Orders, products and refunds without the customer and address blocks are de-personalised and flow on the aggregate path. Customer, billing and shipping fields are person-level and flow only under a consent-registry grant with a per-subject basis — the consent gate is fail-closed and drops them otherwise. The P2-5 declaration never substitutes for a per-subject basis.
Revoke / offboard
Nothing is stored, so there is nothing to revoke on the platform side. If a customer created a credential in anticipation, ask them to delete or rotate it on the vendor side; never accept it meanwhile. When built: the customer revokes the key under WooCommerce → Settings → Advanced → REST API; the operator removes the vault entry through the governed path.
Known gaps
- Demand-driven; no tenant has declared WooCommerce (203K9's system of record is booking software, not WooCommerce).
- Person-level order fields need an owner ruling on the consent-registry grant model.
- OB-GAP-6 — one store per tenant vault entry.
Last verified
Catalog shape, UI locked-card branch and the 409 path measured 2026-10-12 in the C7 worktree (branch feat/onboarding-connectors-self-healing-20261012). Vendor documentation: WooCommerce REST API docs (woocommerce.github.io/woocommerce-rest-api-docs/) — fetched 2026-10-12.