Skip to main content
Connect your WooCommerce store and your AI assistant can answer questions about orders, products, customers, and coupons — and, for anyone with write access to the connection, create and change them. WooCommerce connects with REST API keys instead of OAuth.

Prerequisites

  • A WooCommerce store served over HTTPS at a publicly reachable address — VexiData rejects plain http:// stores, because API keys would travel unencrypted
  • A WordPress user allowed to create WooCommerce API keys (shop manager or administrator)
  • The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default
VexiData connects to your store from the public internet, so it refuses addresses that only exist on your own machine or network: localhost, hostnames ending in .local or .internal, private IP addresses, and hostnames that don’t resolve or that resolve to a private address. A local development store can’t be connected. Use a staging or live store with a public HTTPS address instead.

Connect WooCommerce

1

Create REST API keys in WooCommerce

  1. In your WordPress admin, go to WooCommerce > Settings > Advanced > REST API
  2. Click Add key
  3. Enter a description (for example, VexiData), pick a user, and set Permissions to Read/Write
  4. Click Generate API key, then copy the Consumer key and Consumer secret — WooCommerce shows them only once
2

Add the connection in VexiData

Go to the Integrations page in VexiData, click Connect on WooCommerce, and fill in:
3

Test and connect

Click Test connection to check the keys without saving, then click Connect. VexiData tests the keys against your store’s REST API again before saving, and names the connection after your store’s domain. If the test fails, work through the troubleshooting section below.

Managing the connection

To connect more stores, click Add account on the WooCommerce card on the Integrations page — each store keeps its own URL and keys. The connection with the Primary badge is the primary, which tools use when a request doesn’t name one. To change it, open another connection and click Make primary in its Connection card. To rotate credentials, revoke the key in WooCommerce, generate a new one, and connect the same store URL again — VexiData updates the existing connection. To remove a store, open its connection and click Disconnect in the Connection card.

What the AI can do

woocommerce_write and woocommerce_delete act on your live store, and deletions can be permanent. Review what the AI proposes before approving a change. Both need Write access on the connection — by default, Owners and Admins. Members can use woocommerce_read only.

Troubleshooting

  • Confirm the store URL is correct and starts with https://
  • If the error says the store URL points to a blocked host or a private network address (or resolves to one), VexiData can’t reach the store from the public internet — see the note under Prerequisites
  • Check your SSL certificate is valid and not expired
  • Some security plugins and firewalls block REST API requests — allow requests to /wp-json/wc/
  • Make sure you copied the full consumer key (ck_…) and secret (cs_…)
  • Check the key’s Permissions are set to Read/Write
  • If the key was revoked, generate a new one and connect the store again with it
WooCommerce’s REST API needs pretty permalinks. In WordPress, go to Settings > Permalinks and pick any structure except “Plain”, then save.
Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.