WooCommerce

Manage customers, orders, and products with WooCommerce.

v1.1.0Source

Install

Manage WooCommerce customers, orders, and products, and start a workflow when a coupon, customer, order, or product is created, updated, or deleted. Use it for store sync and order automation.

WooCommerce@zerodot/woocommerceInstall
  1. Open System, then Nodes.
  2. Find WooCommerce and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

WooCommerce (woocommerce.api) is an action node in the WooCommerce package (@zerodot/woocommerce): Manage customers, orders, and products with WooCommerce.

Uses the WooCommerce REST API v3 (/wp-json/wc/v3).

  • Customer: create, delete, get, get many, update
  • Order: create, delete, get, get many, update
  • Product: create, delete, get, get many, update

Details:

  • Delete uses force=true, so the item is removed for always (not moved to the trash).
  • Get Many can return all items (at most 5000) or a limit. The node reads pages of 100 items.
  • Customer create and update take billing and shipping addresses, names, and metadata. Create also takes a username and a password. Get Many filters by email and sorts.
  • Product create and update take the price, stock, status, type, sale dates, SKU, slug, descriptions, and more. Dimensions, Images, and Metadata are separate fields. Categories, Tags, Cross Sell IDs, and Upsell IDs are IDs with commas between, such as 12,15. Get Many has the filters of the products list (search, SKU, category, tag, price range, status, stock status, and more).
  • Order create and update take Billing, Shipping, Coupon Lines, Fee Lines, Line Items, Shipping Lines, and Metadata. Create also has Set Paid. Get Many filters by customer, product, status, dates, and search.
  • Category and Tag fields (Product create, update, and get many) load their options from the store (GET /products/categories, GET /products/tags). You can also type IDs. The old text fields in the collections still work.
  • A date is ISO 8601, such as 2025-01-31T10:00:00.

When WooCommerce gives an error, the node fails with the message and the code of WooCommerce.

Logins it can use

WooCommerce API (woocommerce.api):

  • consumerKey and consumerSecret: from WooCommerce > Settings > Advanced > REST API > Add key. Give the key read and write access. WooCommerce shows the secret one time only.
  • url: the address of the store, such as https://example.com.
  • includeCredentialsInQuery: set Yes when the server does not read the Authorization header (WooCommerce says "Consumer key is missing"). The key and the secret then go in the query of each call.

The Test button calls GET /products/categories. The store address must start with https://. The node refuses http:// addresses, because the keys must not travel in plain text.

Guides and related hubs