W

WooCommerce REST API

by Automattic Free tier

The WooCommerce REST API lets you read and write data from any WordPress/WooCommerce store. Create and update products, process orders and refunds, manage customer accounts, apply coupons, configure shipping zones and tax rates, and pull sales reports. Supports both OAuth 1.0a and API key authentication. Ideal for building custom integrations, ERP sync, and headless WooCommerce storefronts.

wordpressecommerceproductsordersself-hostedopen-source

Quick Reference

Base URL https://{your-domain}/wp-json/wc/v3 Auth type Basic Auth Auth header Authorization: Basic base64(ck_...:cs_...) Rate limit Depends on your hosting (typically no built-in API limit) Pricing Free Free quota Free open-source plugin (hosting cost separate) Documentation https://woocommerce.github.io/woocommerce-rest-api-docs/ Endpoint status Unreachable — No response — server may be down or blocking automated probes (checked Mar 29, 2026) Builder score C 62% builder-friendly
Pricing
100
Latency
0
Depth
81

Authentication

Generate Consumer Key and Consumer Secret in WooCommerce Settings → Advanced → REST API. Use HTTP Basic Auth (key:secret, base64-encoded) or pass as query parameters.

Authorization: Basic base64(ck_...:cs_...)

Pricing

Model free Starting price Free Free quota Free open-source plugin (hosting cost separate)
PlanPrice/moIncluded
Free Free Open-source plugin, unlimited products
Add-ons $0 Paid extensions available separately

WooCommerce is free and open-source. Add-ons are priced separately (e.g., WooCommerce Payments: 2.9% + $0.30/transaction). Hosting from $5/mo.

Key Endpoints

MethodPathDescription
GET /products List products with filtering and pagination
POST /products Create a new product with attributes
GET /orders List orders by status, date, or customer
PUT /orders/{id} Update order status or add notes
GET /customers List customers with billing/shipping info
GET /reports/sales Get sales totals for a date range

Sample Request

curl "https://mystore.com/wp-json/wc/v3/products?status=publish&per_page=5" \
  -u "$WC_CONSUMER_KEY:$WC_CONSUMER_SECRET"

Sample Response

{
  "id": 93,
  "name": "Premium Quality",
  "status": "publish",
  "price": "21.99",
  "stock_quantity": 85,
  "categories": [{"id": 9, "name": "Clothing"}],
  "images": [{"src": "https://mystore.com/wp-content/uploads/product.jpg"}]
}

Data sourced from API Map. Always verify pricing and rate limits against the official Automattic documentation.