Todogift Shipping API
v1.0.1Todogift · 2026年3月9日 上架
Expose a REST endpoint that returns WooCommerce-calculated shipping rates for a given address and products list.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 579
- 最近更新
- 2026年3月9日
贡献者
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.