WooCommerce
The WooCommerce block connects your workflows to a WooCommerce store — read and update orders, manage products and customers, create coupons and refunds, add order notes, and pull sales reports.
Store Automation: Combine this action block with the WooCommerce Trigger — the trigger fires when something happens in your store, and this block reads or changes store data in response.
Key Features
- Orders: List, fetch, create, update, and delete orders, plus order notes
- Products: Full product CRUD with title, description, price, SKU, and status
- Customers: Create, update, and look up customers
- Coupons & Refunds: Create and manage discount coupons; issue refunds (optionally through the payment gateway)
- Reports: Sales, top sellers, and totals reports by period or date range
- Extra Fields: Pass any additional WooCommerce API field as JSON
Operations
Orders
| Operation | Description |
|---|---|
| Get Orders / Get Order | List orders, or fetch one by ID |
| Create Order | Create a new order |
| Update Order | Change an order (e.g. set status to processing or completed) |
| Delete Order | Trash an order, or delete permanently with force: true |
| Get Order Notes / Add Order Note | Read notes, or add one (optionally visible to the customer) |
Products
| Operation | Description |
|---|---|
| Get Products / Get Product | List products, or fetch one by ID |
| Create Product | Add a product with title, description, price, and SKU |
| Update Product | Change a product (price, status, stock fields via Extra Fields) |
| Delete Product | Trash or permanently delete a product |
Customers
| Operation | Description |
|---|---|
| Get Customers / Get Customer | List customers, or fetch one by ID |
| Create Customer | Add a customer with email, first name, and last name |
| Update Customer | Change customer details |
Coupons & Refunds
| Operation | Description |
|---|---|
| Get Coupons / Create Coupon / Update Coupon / Delete Coupon | Manage discount coupons (code, discount type, amount, usage limit) |
| Get Refunds / Create Refund | List refunds for an order, or issue one with amount, reason, and optional gateway refund |
Store
| Operation | Description |
|---|---|
| Get Shipping Zones | List the store's shipping zones |
| Get Reports | Pull sales, top_sellers, or totals reports (orders/totals, products/totals, customers/totals, coupons/totals, reviews/totals) by period (week, month, last_month, year) or date range |
Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
| Credentials | Select | Yes | Your saved WooCommerce connection |
| Action | Select | Yes | One of the 24 operations above |
| Order / Product / Customer / Coupon ID | Text | Per operation | The target record's ID |
| Title / Description / Price / SKU / Status | Text | For products & orders | Record fields — support {{variables}} |
| Customer Email / First Name / Last Name | Text | For customers | Customer details |
| Code / Discount Type / Discount Amount / Usage Limit | Text | For coupons | Coupon settings |
| Refund Amount / Reason / API Refund | Text | For refunds | API Refund: true also refunds through the payment gateway |
| Report Type / Period / Date Min / Date Max | Text | For reports | What to report on and for when |
| Extra Fields | JSON | No | Any additional fields merged into the request body (e.g. {"stock_quantity": 12}) |
Connecting your WooCommerce store
- In your WordPress admin, go to WooCommerce → Settings → Advanced → REST API.
- Click Add key, give it a description, choose a user, and set Permissions to Read/Write.
- Click Generate API key and copy the Consumer key (
ck_...) and Consumer secret (cs_...) — the secret is shown only once. - In Indite, add the WooCommerce block, click Connect new, and enter the Consumer Key, Consumer Secret, and your Site URL (e.g.
https://shop.example.com).
Your store must be served over HTTPS and have the WooCommerce REST API enabled (it is by default). If requests fail with 401 errors, re-check that the key has Read/Write permissions.
Output
The block returns the raw WooCommerce API response — an order, product, customer, or coupon object, or an array for list operations. Reference fields in later blocks with {{<blockId>.<field>}}.
Example: thank-you coupon after delivery
- WooCommerce Trigger — fires when an order status changes to
completed. - WooCommerce → Create Coupon — code
THANKS-{{trigger.id}}, discount typepercent, amount10, usage limit1. - Send Email — send the customer their personal 10% coupon for the next purchase.