Developer
API tích hợp dễ dàng
REST API hỗ trợ JSON, OAuth2 client credentials. Sandbox miễn phí, rate limit 1.000 request/giờ.
Real-time
Webhook + polling, latency <200ms.
OAuth 2.0
Client credentials, scoped tokens.
SDK
Node, Python, PHP, Go.
POST
/api/quoteLấy báo giá theo trọng lượng, kích thước, tuyến đường.
{
"from": "VN",
"to": "US",
"weightKg": 2.5,
"dimensionsCm": { "l": 30, "w": 20, "h": 15 },
"service": "air-express"
}GET
/api/track/:codeLấy trạng thái và milestones của đơn hàng.
// example: /api/track/GS-8821-VNPOST
/api/ordersTạo mới đơn vận chuyển.
{
"sender": { "name": "...", "phone": "..." },
"receiver": { "name": "...", "phone": "...", "address": "..." },
"items": [{ "name": "...", "qty": 1, "value": 100 }],
"service": "air-express"
}