WooCommerce API: what you can do and how to use it with AI agents
WooCommerce has a REST API built into WordPress that exposes the store's orders, products, customers, coupons, refunds and reports. Store owners, agencies and integrators who connect the store to an ERP, logistics and support use it. Access is through API keys generated in the store's own dashboard.
What the WooCommerce API offers
Orders
Look up, create and update order status, and add order notes.
Products and variations
Records, price, stock and attributes.
Customers
Buyers' registration data and addresses.
Coupons
Create discount coupons and set their rules.
Refunds
Record full or partial refunds on orders.
Reports
Sales totals and best-selling items.
Webhooks
Notices of created and updated orders and other events.
How to access the WooCommerce API
- With your company’s credentialsConsumer key and secret generated in WooCommerce > Settings > Advanced > REST API, with read, write or both permissions. The store must use HTTPS.
- Performance depends on the store's hosting: avoid heavy queries at peak hours.
- Plugins can change API fields and behavior: test in a staging environment.
- Customer data is personal: restrict access (GDPR and similar laws).
Official documentation: woocommerce.github.io/woocommerce-rest-api-docs
What an iTeam agent does with the WooCommerce API
Order awaiting payment
The agent finds orders stuck in awaiting payment and reminds the customer with the link to complete it, before the stock is released.
Size exchange on WhatsApp
The customer asks for an exchange and the agent checks the order and the variation's availability, then opens the request with a note on the order.
Stock aligned with the ERP
The agent compares store stock with the ERP and fixes discrepancies, with approval for large differences.
Coupon to win a customer back
For customers who have not bought in months, the agent creates a personal coupon with a short expiry and sends it with a recommendation.
From the credential to the agent at work, with approval
Generate the API keys in WooCommerce
Create keys for a dedicated user, with read or read and write permission as the case requires.
Register it in the iTeam vault
The keys stay in the vault. The support agent reads orders and writes notes, and refunds stay with finance.
Test with approval
Refunds, cancellations and coupons above a set value go through human approval.
Ready-made AI teams that use WooCommerce
Questions about the WooCommerce API
Is the WooCommerce API free?
Yes, the REST API comes with WooCommerce, which is free software. Your costs are hosting and any paid plugins you use.
Do I need to code to use the WooCommerce API with iTeam?
Not necessarily. WooCommerce is in the app catalog and iTeam's HTTP tool reads the documentation. The deployment team sets it up.
Can I receive orders in real time?
Yes, by setting up webhooks for created and updated orders in the store.