內容簡介
### 總結:
FutureFeathers Order API 允許您在訂單完成時自動將訂單數據發送到外部API。與 WooCommerce 商店完美配合。
### 問題與答案:
1. FutureFeathers Order API 主要用途是什麼?
- 用於在訂單完成時自動將訂單數據發送到外部API。
2. FutureFeathers Order API 的功能特點有哪些?
- 可為每個產品設置不同的API。
- 包括 25 多個動態變數,涵蓋客戶、訂單和產品數據。
- 可以使用日期功能自動計算到期日期。
- 支援多種HTTP方法,如POST、PUT、PATCH。
- 支持驗證方法,如Bearer Token、API Key、Basic Auth。
- 可在上線前測試API連接。
- 提供詳細日誌功能以跟踪所有API呼叫。
- 允許添加自訂標頭和JSON載荷。
3. 升級到 PRO 版本有什麼優點?
- 可以啟用 "僅發送自定義字段" 模式,適用於拒絕多餘參數的API。
- 提供數學計算功能,如計稅。
- 支援 UUID 生成器和隨機生成器。
- 提供進階時間戳和自訂日期格式。
- 包括 50 多個變數,包含完整的地址數據。
- 提供優先郵件支援。
4. 如何獲得支援?
- 若有任何支援問題,請使用 WordPress.org 支援論壇。
- PRO 版本支援請發送郵件至 [email protected]。
外掛標籤
開發者團隊
原文外掛簡介
FutureFeathers Order API allows you to automatically send order data to external APIs when orders are completed. Works ideally with WooCommerce stores.
Ideal for:
* SaaS License Management – Activate licenses when orders complete
* LMS/Academy Systems – Update user limits and subscriptions
* CRM Integration – Sync customer data automatically
* Inventory Management – Update external inventory systems
* Custom Workflows – Trigger any external system
Key Features
Per-Product Configuration – Different API for each product
25+ Dynamic Variables – Include customer, order, and product data
Date Functions – Calculate expiry dates automatically ({{date:+1month}})
Multiple HTTP Methods – POST, PUT, PATCH support
Authentication – Bearer Token, API Key, Basic Auth
Test Mode – Test API connections before going live
Detailed Logging – Debug and track all API calls
Custom Headers – Add any HTTP headers needed
Custom JSON Payload – Full control over what data is sent
WooCommerce HPOS – Compatible with High-Performance Order Storage
Available Variables
Include dynamic data in your API requests:
Customer Data:
* {{email}} – Customer email
* {{customer_first_name}} – First name
* {{customer_last_name}} – Last name
* {{customer_full_name}} – Full name
* {{customer_phone}} – Phone number
Order Data:
* {{order_id}} – Order ID
* {{total}} – Order total
* {{currency}} – Currency code
* {{purchase_date}} – Purchase date/time
* {{order_status}} – Order status
Product Data:
* {{product_id}} – Product ID
* {{product_name}} – Product name
* {{product_sku}} – Product SKU
* {{quantity}} – Quantity purchased
Date Functions:
* {{date:+1month}} – Date plus 1 month
* {{date:+1year}} – Date plus 1 year
* {{today:}} – Today’s date
* {{now:}} – Current date/time
* {{year:}}, {{month:}}, {{day:}} – Date parts
Pro Features
Upgrade to PRO for advanced features:
* “Send ONLY Custom Fields” Mode – For strict APIs that reject extra parameters
* Math Calculations – {{math:{{total}}*1.18}} for taxes, calculations
* UUID Generator – {{uuid:}} for unique IDs
* Random Generators – {{random:1-100}}, {{random_string:16}}
* Advanced Timestamps – Unix timestamps, milliseconds
* Custom Date Formats – Any PHP date format
* 50+ Variables – Full billing/shipping address, advanced order data
* Priority Support – Email support with 24-hour response
Upgrade to PRO
Example Use Cases
SaaS License Management:
Send license activation to your API when customer purchases:
{
"email": "{{email}}",
"product": "{{product_name}}",
"license_key": "MANUAL_KEY_HERE",
"expires": "{{date:+1year}}"
}
LMS Academy Limits:
Update student limits in your learning management system:
{
"user_email": "{{email}}",
"validity_date": "{{date:+1month}}",
"max_students": "100"
}
CRM Contact Sync:
Add customer to your CRM automatically:
{
"email": "{{email}}",
"first_name": "{{customer_first_name}}",
"last_name": "{{customer_last_name}}",
"order_total": "{{total}}",
"purchase_date": "{{purchase_date}}"
}
Support
For support questions, please use the WordPress.org support forum.
For PRO version support, email: [email protected]
Pro Version
Get advanced features with the PRO version:
“Send ONLY custom fields” mode for strict APIs
Math calculations: {{math:10+5}}
UUID generation: {{uuid:}}
Random generators: {{random:1-100}}
Advanced timestamps and custom date formats
50+ variables including full address data
Priority email support
Upgrade to PRO – $49
