TL;DR
The WooCommerce REST API allows you to interact with your store’s data programmatically—great for developers who want to create, read, update, or delete data like products, orders, and customers.
👉 Official WooCommerce REST API docs
What is the WooCommerce API?
The WooCommerce REST API gives developers access to core WooCommerce features and data over HTTP. It follows RESTful principles and supports both JSON and XML (though JSON is most common).
With the API, you can build integrations, mobile apps, dashboards, or anything else that needs to communicate with your WooCommerce store.
Common Use Cases
- List all products or fetch product details
- Create or update orders
- Manage customers
- Retrieve store settings or reports
- Connect WooCommerce to external systems (like ERPs, CRMs, or custom tools)
Authentication
The API supports several authentication methods:
- OAuth 1.0a (for legacy systems)
- Basic Authentication (most commonly used in testing)
- Application Passwords (recommended for modern WordPress setups)
You’ll need Consumer Key and Consumer Secret, which you can generate in the WooCommerce settings under Advanced > REST API.
API Versions
WooCommerce’s API is versioned (e.g., v3
), and new features are typically added in newer versions. Always check which version your store supports.
Resources & Endpoints
Key endpoints include:
GET /wp-json/wc/v3/products
GET /wp-json/wc/v3/orders
POST /wp-json/wc/v3/customers
- …and many more
Learn More
Explore all available endpoints, authentication methods, and examples in the official documentation:
👉 WooCommerce REST API Documentation