|
|
@@ -121,6 +121,11 @@ supabase functions serve
|
|
|
- OAuth flow: `oauth-woocommerce` (OAuth 1.0a authentication)
|
|
|
- API client: `_shared/woocommerce-client.ts`
|
|
|
- **Data synchronization**: `woocommerce-sync` (manual sync for products, orders, customers)
|
|
|
+ - **API Version**: WooCommerce REST API v3 (`/wp-json/wc/v3/`)
|
|
|
+ - **IMPORTANT**: Uses latest WooCommerce REST API v3 (NOT legacy API)
|
|
|
+ - Official documentation: https://woocommerce.github.io/woocommerce-rest-api-docs
|
|
|
+ - Requires: WooCommerce 3.5+ and WordPress 4.4+
|
|
|
+ - Legacy API versions (v1, v2, v3 at `/wc-api/v*`) are deprecated and NOT supported
|
|
|
- Read-only access to products, orders, and customers
|
|
|
- Secure OAuth 1.0a with HMAC-SHA256 signatures
|
|
|
- Rate limiting (5 req/sec) and retry logic with exponential backoff
|