內容簡介
Todogift Shipping API 提供一個簡單的 REST API 端點,讓外部服務能夠獲取 WooCommerce 計算的運費。此外掛主要為整合 Todogift 平台的商店設計,也適用於需要經過身份驗證的 WooCommerce 運費存取的任何外部系統。
【主要功能】
• 提供 WooCommerce 計算的運費
• 支援多種運送方式與規則
• 簡單的 REST API 端點設計
• 僅回應經身份驗證的 API 請求
• 確保安全性,建議使用 HTTPS
外掛標籤
開發者團隊
原文外掛簡介
Todogift Shipping API exposes a simple, production-focused REST API endpoint so an external service can retrieve shipping rates calculated by WooCommerce on a vendor’s store.
This plugin is primarily built for stores integrating with the Todogift platform. It can also be used by any external system that needs authenticated access to WooCommerce-calculated shipping rates.
This plugin does not re-implement shipping logic. It delegates to WooCommerce shipping calculation, so all configured rules apply:
Shipping zones and locations
Shipping methods (Flat rate, Free shipping, etc.)
Table/weight/amount rules from shipping plugins (e.g. relay / carrier plugins)
Endpoints
GET /wp-json/todogift/v1/status (auth required)
GET /wp-json/todogift/v1/shipping/free-shipping-rules (auth required; core WooCommerce Free shipping min amount rules)
POST /wp-json/todogift/v1/shipping/calculate (auth required)
Authentication
All endpoints require authentication using WooCommerce REST API keys.
For security, always use HTTPS and HTTP Basic Auth when calling the API. Do not transmit API keys over plain HTTP.
Privacy
The plugin does not track users and does not send data to third-party servers by itself. It only responds to authenticated API requests.
