
內容簡介
NovaCraft API Builder 是一款專為 WordPress 設計的外掛,能將您的 WooCommerce 商店轉換為功能完善的無頭商務後端,提供清晰的版本化 REST API,讓開發者輕鬆整合和擴展。
【主要功能】
• JWT 認證:發行存取令牌和刷新令牌
• API 金鑰管理:創建帶有細緻權限的金鑰
• 產品端點:列出、篩選、排序和檢索產品
• 訂單端點:查看訂單歷史及添加備註
• 購物車端點:完整的無頭購物車功能
• 快取與速率限制:提高性能和安全性
外掛標籤
開發者團隊
原文外掛簡介
NovaCraft API Builder for WordPress turns your WooCommerce store into a fully-featured headless commerce backend. It exposes a clean, versioned REST API under /wp-json/novacraft/v1/ with:
JWT Authentication — Issue access tokens (15 min TTL) and refresh tokens (30 days), with automatic rotation and revocation.
API Key Management — Create nc_live_* and nc_test_* keys with granular permissions, IP allowlists, rate-limit overrides, and expiry dates.
Product Endpoints — List, filter, sort, paginate, and retrieve products, variations, and reviews.
Category Endpoints — Browse the WooCommerce category tree.
Order Endpoints — Authenticated customers can view their order history and add order notes.
Customer Endpoints — Manage profile, addresses, and order history.
Cart Endpoints — Full headless cart: add/update/remove items, apply coupons, calculate shipping, and check out.
Caching — Object-cache and transient fallback, ETag headers, tag-based invalidation.
Rate Limiting — Sliding-window limiter with Redis or transient fallback. Account lockout after 5 failed logins.
React Admin UI — Dashboard, API Key manager, API Explorer, request logs, and settings page.
Extensibility — 6 filters and 6 actions so Pro / Enterprise add-ons can hook in without touching Core.
Pro Features (Coming Soon)
RS256 keypair authentication
Webhooks
AI product recommendations
Multi-currency support
Subscription endpoints
Cloud log aggregation
Requirements
WordPress 6.4 or higher
WooCommerce 8.0 or higher
PHP 8.1 or higher
Source Code
This plugin is fully open source. The human-readable source files for all compiled JavaScript/CSS assets are publicly available on GitHub:
https://github.com/wpcrafthub/novacraft-api-builder
The admin dashboard is built with React (TypeScript) using Vite as the build tool. Source files are located in admin/src/. To regenerate the compiled assets in admin/dist/, run:
npm install
npm run build
