All integrations
W
WooCommerce
Products, orders and customers in a self-hosted WooCommerce store.
Ecommerce
How an agent reaches it
MCPREST APICLI
How you authenticate
Username and password
- In WordPress open WooCommerce, then Settings, then Advanced, then REST API, and add a key.
- The consumer key is the Basic username and the consumer secret is the password.
- There is no vendor host: the store is your own domain, so set a URI rule for it explicitly.
Connection details
- Base URL
- https://{your-store}/wp-json/wc/v3
- Pagination
- page
Common endpoints
| list products | GET /products |
| list orders | GET /orders |
| create a product | POST /products |
Worth knowing
- Basic auth only works over HTTPS. Over plain HTTP Woo requires OAuth 1.0a signing instead, which the generic lane cannot do.
- Many hosts strip the Authorization header; if auth silently fails, the query-parameter form is the fallback.