# Goldnat for WooCommerce

Create and update products, manage orders and refunds, handle coupons and customers, control shipping and taxes, monitor stock and revenue — all from a conversation with your agent.

- Platform: WordPress
- Edition: paid add-on
- Web page: https://plugins.goldnat.ai/wordpress/woocommerce-ai-connect
- Installation guide: https://plugins.goldnat.ai/wordpress/guide
- Requires: Goldnat for WordPress (https://plugins.goldnat.ai/wordpress/wordpress-plugin.md)

## What you can ask the agent

- "Which products are running low on stock?" — The agent checks stock levels and lists the products under the threshold.
- "Mark order 1042 as shipped and add the tracking number." — It updates the order status, saves the tracking details, and can email the customer.
- "Create a 15% coupon for returning customers, valid until Sunday." — It creates the coupon with the dates and limits you describe.
- "What were my top sellers this month?" — It reads your sales reports and lists the best-selling products.
- "Reply politely to the two negative reviews from yesterday." — It finds the reviews and posts replies after you approve the text.
- "Raise the price of every product in "Accessories" by 5%." — It prepares a bulk update and asks you to confirm before saving.
- "Refund the shipping on order 1038." — It records the refund on the order after your explicit confirmation.

## Install and connect

1. Install the free core plugin first: Goldnat for WordPress (https://plugins.goldnat.ai/wordpress/wordpress-plugin). This plugin runs on top of it.
2. Buy Goldnat for WooCommerce at goldnat.ai, download it, and upload it in your WordPress admin panel. Enter the license key you receive.
3. Connect your AI agent: in goldnat.ai (or another compatible agent) add your site address. You are sent to your own WordPress site to log in and approve what the agent may do (read only, or read and write).
4. Ask the agent in plain language. It calls the plugin on your site as you, and shows you the result.
5. Full installation guide with screenshots: https://plugins.goldnat.ai/wordpress/guide

## What the agent can and cannot do

- The agent acts as the WordPress user who connected it. It can never see or change more than that user can.
- You approve the access level when you connect (read only, or read and write), and you can revoke the connection at any time from the plugin page in your admin panel.
- Actions that delete content or cannot be undone ask for an explicit confirmation first.
- Your content stays on your site. The plugin answers the agent's requests directly; it does not copy your site anywhere else.

## Tools

Each tool is called by the agent by name. "write" tools need write access approved at connection.

- `woocommerce.createAttributeTerm` (write) — Create a new term for an existing product attribute (e.g., add 'Red' to Color attribute). Returns created term ID and details.
- `woocommerce.createOrder` (write) — Create a new order with line items
- `woocommerce.createProduct` (write) — Create a new WooCommerce product
- `woocommerce.createReview` (write) — Create a new product review. Accepts product ID, reviewer name, email, rating (1-5), review text, and verification status. Returns created review ID. Essential for managing customer feedback.
- `woocommerce.createShippingZone` (write) — Create a new shipping zone with name and regions. Returns created zone ID. Essential for multi-region shipping setup.
- `woocommerce.createTaxRate` (write) — Create a new tax rate with country, state, rate percentage, and tax class. Essential for multi-jurisdiction tax compliance.
- `woocommerce.deleteAttributeTerm` (delete) — Permanently delete an attribute term. Removes it from all products and variations. Cannot be undone.
- `woocommerce.deleteProductAttribute` (delete) — Permanently delete a product attribute. Removes all terms and variations using this attribute. Cannot be undone. Highly destructive.
- `woocommerce.deleteProductTag` (delete) — Permanently delete a product tag. Removes the tag from all products. Cannot be undone. Returns success confirmation.
- `woocommerce.deleteReview` (delete) — Permanently delete a product review by ID. Cannot be undone. Use for spam or inappropriate reviews. Returns success confirmation.
- `woocommerce.deleteShippingZone` (delete) — Permanently delete a shipping zone and all its methods. Cannot be undone. Use with caution on active stores.
- `woocommerce.deleteTaxRate` (delete) — Permanently delete a tax rate. Affects all orders using this rate going forward. Cannot be undone.
- `woocommerce.getCustomer` (read) — Get customer profile + order stats
- `woocommerce.getOrder` (read) — Get a single order by ID with line items and totals
- `woocommerce.getSalesReport` (read) — Sales totals + counts for a date range
- `woocommerce.getTopSellers` (read) — Top-selling products by units sold in a period
- `woocommerce.getWebhook` (read) — Get full configuration of a specific webhook by ID. Returns topic, delivery URL, secret, status, and recent deliveries. Essential for integration management and debugging.
- `woocommerce.listCustomers` (read) — List customers with basic profile info
- `woocommerce.listOrders` (read) — List orders across the shop with filters (admin scope)
- `woocommerce.listProductCategories` (read) — List all product categories with counts
- `woocommerce.updateAttributeTerm` (write) — Update an attribute term's name, slug, or description. Essential for managing variation options.
- `woocommerce.updateInventory` (write) — Update stock quantity + stock-status for a product
- `woocommerce.updateOrderMetaData` (write) — Add or update custom meta data for an order. Accepts meta key and value. Returns updated order. Essential for third-party integrations.
- `woocommerce.updateOrderStatus` (write) — Change an order's status (e.g. pending → processing → completed)
- `woocommerce.updateProduct` (write) — Update an existing product's fields
- `woocommerce.updateProductAttribute` (write) — Update a product attribute's name, slug, type, or order settings. Essential for attribute management and variation configuration.
- `woocommerce.updateProductMetaData` (write) — Add or update custom meta data for a product. Essential for plugins that extend product fields.
- `woocommerce.updateProductTag` (write) — Update an existing product tag's name, slug, or description. Returns updated tag details.
- `woocommerce.updateStoreSettings` (admin) — Update WooCommerce store settings such as currency, address, tax settings, and selling locations. Returns updated settings. Use with caution on live stores.
- `woocommerce.uploadProductImage` (write) — Upload an image file and attach it to a product as featured image or gallery item. Accepts image binary data or URL. Returns uploaded image ID and URL. Essential for product content management.
- `woocommerce.addOrderNote` (write) — Add a note to an order — internal (admin-only) or customer-visible (triggers email).
- `woocommerce.applyCouponToCart` (write) — Apply a coupon code to the current cart, returning updated totals.
- `woocommerce.bulkUpdateProducts` (write) — Apply the same price/stock/status/category patch to many products in one call.
- `woocommerce.bulkUpdateStock` (write) — Set stock quantities for many products in one call: [{product_id, stock_quantity}].
- `woocommerce.createCoupon` (write) — Create a new WooCommerce coupon (percent / fixed_cart / fixed_product).
- `woocommerce.createCustomer` (write) — Create a new WooCommerce customer with email + address (auto-generates username if omitted).
- `woocommerce.createProductAttribute` (write) — Create a global attribute (product_attribute) with name + slug + type.
- `woocommerce.createProductCategory` (write) — Create a WooCommerce product category (product_cat term) with optional parent + description.
- `woocommerce.createProductTag` (write) — Create a new product tag (product_tag term).
- `woocommerce.createProductVariation` (write) — Add a variation to a variable product with attributes + price + stock.
- `woocommerce.createRefund` (write) — Issue a full or partial refund on an order. Supports line-item breakdown and restocking.
- `woocommerce.createWebhook` (admin) — Create a webhook: topic (order.created, product.updated…), delivery URL, secret.
- `woocommerce.deleteCoupon` (delete) — Trash a coupon by ID (recoverable) or force-delete it.
- `woocommerce.deleteCustomer` (delete) — Delete a customer account. Optionally reassign their content/orders to another user.
- `woocommerce.deleteOrder` (delete) — Delete an order (trash or force-delete). Force-delete is IRREVERSIBLE and destroys refunds.
- `woocommerce.deleteProduct` (delete) — Delete a product (trash or force-delete).
- `woocommerce.deleteProductCategory` (delete) — Delete a product category (products keep their other categories).
- `woocommerce.deleteProductVariation` (delete) — Delete a variation (force-delete recommended).
- `woocommerce.deleteWebhook` (admin) — Delete a webhook by ID.
- `woocommerce.duplicateProduct` (write) — Duplicate a product as a new draft (copies core fields, meta, taxonomies).
- `woocommerce.getCustomerReport` (read) — Top customers by spend + new/returning breakdown for a date range.
- `woocommerce.getLowStockReport` (read) — Products at or below the low-stock threshold, plus a list of out-of-stock SKUs.
- `woocommerce.getProductVariation` (read) — Get one variation with attributes, price, SKU, stock.
- `woocommerce.getRevenueReport` (read) — Revenue breakdown over a date range with day-by-day totals and comparison to previous period.
- `woocommerce.getShippingMethods` (read) — List all registered shipping method types (flat_rate, free_shipping, local_pickup, etc.).
- `woocommerce.getStockStatus` (read) — Get stock status of one product (or SKU): in_stock/out_of_stock/on_backorder, quantity, manage_stock.
- `woocommerce.listCoupons` (read) — List existing coupons with usage stats. Filter by status/search.
- `woocommerce.listOrderNotes` (read) — Retrieve all notes on an order with author, timestamp, and type.
- `woocommerce.listPaymentGateways` (read) — List available payment gateways with enabled state + settings summary.
- `woocommerce.listProductAttributes` (read) — List global product attributes (Color, Size…) with their term counts.
- `woocommerce.listProductReviews` (read) — List product reviews with rating + status + author.
- `woocommerce.listProductTags` (read) — List product tags with post counts.
- `woocommerce.listProductVariations` (read) — List all variations of a variable product with attributes, price, SKU, stock.
- `woocommerce.listRefunds` (read) — List all refunds issued against an order with amount, reason, date.
- `woocommerce.listShippingZones` (read) — List all shipping zones with regions + assigned methods.
- `woocommerce.listTaxRates` (read) — List all tax rates with country/state/rate/name.
- `woocommerce.listWebhooks` (read) — List active WooCommerce webhooks with topic + delivery URL.
- `woocommerce.replyToReview` (write) — Post a reply to a review as the site admin.
- `woocommerce.sendOrderEmail` (write) — Trigger a WooCommerce order email (customer_invoice / customer_processing_order / customer_completed_order / new_order).
- `woocommerce.setOrderTracking` (write) — Attach shipment tracking metadata to an order (carrier, tracking number, tracking URL).
- `woocommerce.updateCoupon` (write) — Modify amount, expiry, usage limit, or status of an existing coupon.
- `woocommerce.updateCustomer` (write) — Update customer email/name/address/phone.
- `woocommerce.updateOrder` (write) — Update order fields beyond status: customer_id, billing/shipping addresses, customer_note.
- `woocommerce.updatePaymentGateway` (admin) — Enable / disable a payment gateway or update its title/description.
- `woocommerce.updateProductCategory` (write) — Update product category name/slug/description/parent.
- `woocommerce.updateProductVariation` (write) — Update variation price/stock/SKU/status.
- `woocommerce.updateReview` (write) — Approve / hold / spam / trash a review.
- `woocommerce.updateShippingZone` (admin) — Rename a shipping zone or reorder its position.
- `woocommerce.updateTaxRate` (admin) — Update a tax rate: percentage, name, priority, compound, shipping.
- `woocommerce.addToCart` (write) — Add a product to the shopping cart
- `woocommerce.getCart` (read) — Get current shopping cart contents
- `woocommerce.getOrders` (read) — Get customer orders
- `woocommerce.getProduct` (read) — Get a single WooCommerce product by ID or SKU
- `woocommerce.searchProducts` (read) — Search WooCommerce products with filters

## Frequently asked questions

**Which AI agents can I use?**

Our own agent at goldnat.ai, and other AI agents that support the Servio protocol. The list of compatible clients is on this page.

**Can the AI see or change things I can't?**

No. It works as the WordPress user who connected it, with exactly that user's permissions. Connect it with an account that has only the access you want it to have.

**Will it change things without asking?**

Only if you approved write access when you connected it. Deleting or irreversible actions ask for an explicit confirmation.

**How do I disconnect an agent?**

Revoke its connection from the plugin page in your admin panel. The agent loses access immediately.

**Do I also need Goldnat for WordPress?**

Yes. Goldnat for WooCommerce runs on top of the free core plugin, which handles the secure connection.

## Guides

- [Managing Many WordPress Sites with an AI Agent](https://plugins.goldnat.ai/docs/06-managing-many-wordpress-sites) — A practical guide for agencies and freelancers who look after several WordPress sites — how to connect one AI agent to all of them with the Goldnat plugins, what it can check and change on each site, how permissions and confirmations keep it safe, and a weekly routine you can copy.
