v1.0.5 Now Available

The Ultrafast
Headless WooCommerce

Build stunning storefronts with Next.js, React, or Vue using our type-safe SDK, Swagger-documented APIs, and WordPress companion plugin.

$npm install woo-rest-headless
Blazing Fast
Optimized for edge runtimes and static generation. Minimal footprint.
Swagger Docs
Complete interactive API reference and Swagger documentation included.
Type-Safe
Full TypeScript definitions for orders, products, and customer data.
WP Connector
Plugin to handle CORS, Auth, and custom SQL/GraphQL endpoints.

Simple, Intuitive API

Stop wrestling with complex SOAP endpoints. WooRestHeadless gives you a clean, promise-based API with full Swagger support.

  • Swagger UI Documentation
  • Automatic Auth Handling
  • Smart Caching
  • Full Response Typing
usage.ts
import { WooHeadless } from 'woo-rest-headless';

const api = new WooHeadless({
url: 'https://yourstore.com',
consumerKey: 'ck_...',
consumerSecret: 'cs_...'
});

const products = await api.woocommerce.getProducts();
Backend Companion

Woo Rest Headless Connector

Bridge the gap. Manage CORS, JWT auth, and custom SQL/GraphQL endpoints directly from your WordPress dashboard.

Zero-Config CORS

Automated header management.

Custom Endpoints

SQL or GraphQL via UI.

API Tester

Integrated WordPress testing.

Banner API

Manage app content easily.

SettingsAPI Tester
Endpoint ManagementCustom Queries

Support Open Source

If WooRestHeadless helps your business, consider supporting the maintenance of the project.