Skip to main content
WooCommerce logo

Overview

Add WooCommerce to any ModuleX agent or workflow. Manage orders, products, customers, refunds, and payment methods on self-hosted WooCommerce stores via the WooCommerce REST API ({store_url}/wp-json/wc/v3).
Categories: E-Commerce · Retail · Payments · Auth: WooCommerce REST API Credentials · Actions: 17

Authentication

WooCommerce REST API Credentials

Authenticate using your WooCommerce store URL, consumer key, and consumer secret via HTTP Basic Auth (HTTPS required).

Required Credentials

Available Actions

Parameters

string
Order status. Options: pending, processing, on-hold, completed, cancelled, refunded, failed, trash (Default: pending)
integer
User ID who owns the order. 0 for guests
string
Payment method ID (e.g. bacs, cheque, cod, paypal)
array
Array of line item objects, each with product_id (integer) and quantity (integer)

Response

Parameters

integer
required
ID of the order to retrieve

Response

Parameters

Limit results to those matching a string
string
Order status filter. Options: pending, processing, on-hold, completed, cancelled, refunded, failed, trash (Default: pending)
integer
Filter by customer user ID. 0 for guests
string
Limit to orders created after this ISO8601 date (e.g. 2023-01-01T00:00:00)
string
Limit to orders created before this ISO8601 date (e.g. 2023-12-31T23:59:59)
integer
Maximum number of results to return (Default: 20)

Response

Parameters

integer
required
ID of the order to delete
boolean
Whether to bypass trash and permanently delete the order

Response

Parameters

integer
required
ID of the order to update
string
required
New order status. Options: pending, processing, on-hold, completed, cancelled, refunded, failed, trash

Response

Parameters

string
required
Name of the product
string
Product type. Options: simple, grouped, external, variable (Default: simple)
string
Product status. Options: draft, pending, private, publish (Default: publish)
string
Product regular price
string
Product sale price
string
Product description (HTML allowed)
array
Array of category IDs (integers) to assign the product to
string
URL of an image to add to the product

Response

Parameters

integer
required
ID of the product to update
string
New name for the product
string
Product type. Options: simple, grouped, external, variable
string
Product status. Options: draft, pending, private, publish
string
Product regular price
string
Product sale price
string
Product description (HTML allowed)
array
Array of category IDs (integers) to assign the product to
string
URL of an image to add to the product

Response

Parameters

integer
required
ID of the product to retrieve

Response

Parameters

string
Limit results to those matching a string
string
Product status filter. Options: draft, pending, private, publish (Default: publish)
string
Product type filter. Options: simple, grouped, external, variable (Default: simple)
string
Limit to products created after this ISO8601 date
string
Limit to products created before this ISO8601 date
integer
Maximum number of results to return (Default: 20)

Response

Parameters

string
Limit results to those matching a string
string
Filter by exact customer email address
string
Filter by role. Options: all, administrator, editor, author, contributor, subscriber, customer (Default: customer)
integer
Maximum number of results to return (Default: 20)

Response

Parameters

integer
required
ID of the customer to retrieve

Response

Parameters

string
required
Customer email address
string
Customer first name
string
Customer last name
string
Customer login username
string
Customer password
boolean
Whether the customer is a paying customer

Response

Parameters

integer
required
ID of the order to add a note to
string
required
Content of the order note

Response

Parameters

integer
required
ID of the order
integer
required
ID of the order note

Response

Parameters

integer
required
ID of the order
string
Filter by note type. Options: any, customer, internal (Default: any)

Response

Parameters

integer
required
ID of the order to refund
string
Refund amount. If not specified, calculated from line items
string
Reason for the refund
boolean
When true, the payment gateway API generates the refund. When false, the refund is manual
array
Array of line item refund objects. Each with id (integer), refund_total (string), and optionally refund_tax (array)

Response

Response

Limits & Quotas

  • WooCommerce REST API rate limits depend on the hosting provider and server configuration. Most managed hosts enforce 60-120 requests/minute.
  • Pagination is server-controlled; responses include X-WP-Total and X-WP-TotalPages headers.
  • Error model: non-2xx responses are caught and returned as success=False + error rather than raising. Plan for retries on the agent side based on the error string.
  • No per-request pricing — WooCommerce is self-hosted.

Shopify

Amazon Selling Partner

Etsy