Bladeren bron

docs: add WooCommerce REST API v3 documentation to CLAUDE.md #24

- Document that integration uses latest WooCommerce REST API v3
- Add official documentation link
- Clarify that legacy API versions are NOT supported
- Add version requirements (WooCommerce 3.5+, WordPress 4.4+)
Claude 5 maanden geleden
bovenliggende
commit
f038f8cccc
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      CLAUDE.md

+ 5 - 0
CLAUDE.md

@@ -121,6 +121,11 @@ supabase functions serve
   - OAuth flow: `oauth-woocommerce` (OAuth 1.0a authentication)
   - OAuth flow: `oauth-woocommerce` (OAuth 1.0a authentication)
   - API client: `_shared/woocommerce-client.ts`
   - API client: `_shared/woocommerce-client.ts`
   - **Data synchronization**: `woocommerce-sync` (manual sync for products, orders, customers)
   - **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
   - Read-only access to products, orders, and customers
   - Secure OAuth 1.0a with HMAC-SHA256 signatures
   - Secure OAuth 1.0a with HMAC-SHA256 signatures
   - Rate limiting (5 req/sec) and retry logic with exponential backoff
   - Rate limiting (5 req/sec) and retry logic with exponential backoff