TW-API
  1. V2
TW-API
  • 文档说明
  • 请求
  • 响应
  • V2
    • 获取派送产品列表
      POST
    • 订单试算
      POST
    • 订单预报
      POST
    • 订单状态查询
      POST
    • 订单详情
      POST
    • 面单下载
      POST
    • 订单删除
      POST
    • 预扣费查询
      POST
    • 打单余额
      POST
    • 查询账单
      POST
    • 查询账单明细
      POST
    • 审核包袋
      POST
    • 创建合包
      POST
    • 删除合包
      POST
    • 查询包袋信息
      POST
  1. V2

订单详情

POST
/api/v2/orderInfo
最后修改时间:2026-01-01 01:13:15

请求参数

Header 参数

Body 参数application/json

示例
{
    "no": "test20240625001"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/api/v2/orderInfo' \
--header 'key;' \
--header 't;' \
--header 'username;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "no": "test20240625001"
}'

返回响应

🟢200成功
application/json
Body

示例
{
	"data": {
		"no": "test20240625001",
		"is_signature_service": false,
		"is_prod": true,
		"tracking_number": "1ZG2G1560339285234",
		"freight_class": "70",
		"practical_weight": "13.018",
		"practical_boxes_number": 3,
		"is_residential": true,
		"charge_weight": "31.000",
		"charge_weight_unit": "LBS",
		"charge_amount": "24.20",
		"charge_total_amount": "24.20",
		"additionally_proportion": 0.03,
		"additionally_amount": "0.00",
		"gfp_discount_percent": 0,
		"bill_boxes_number": 0,
		"bill_amount": 0,
		"bill_weight": "0.000",
		"bill_weight_unit": null,
		"removing_at": null,
		"removed_at": null,
		"real_removed_at": null,
		"status": 1,
		"note": null,
		"children": [
			{
				"box_sequence_number": 1,
				"tracking_number": "1ZG2G1560339285234",
				"weight": "3.020",
				"length": "20.20",
				"width": "30.30",
				"height": "20.40",
				"reference": "T2022011801-1,T20221031001",
				"charge_weight": "6.658",
				"charge_weight_unit": "LBS",
				"is_bill": false,
				"bill_amount": null,
				"bill_weight": null,
				"bill_weight_unit": null
			},
			{
				"box_sequence_number": 2,
				"tracking_number": "1ZG2G1560324333245",
				"weight": "4.999",
				"length": "20.00",
				"width": "20.00",
				"height": "30.00",
				"reference": "T2022011801-2,T20221031001",
				"charge_weight": "11.021",
				"charge_weight_unit": "LBS",
				"is_bill": false,
				"bill_amount": null,
				"bill_weight": null,
				"bill_weight_unit": null
			},
			{
				"box_sequence_number": 3,
				"tracking_number": "1ZG2G1560337555455",
				"weight": "4.999",
				"length": "20.00",
				"width": "20.00",
				"height": "30.00",
				"reference": "T2022011801-2,T20221031001",
				"charge_weight": "11.021",
				"charge_weight_unit": "LBS",
				"is_bill": false,
				"bill_amount": null,
				"bill_weight": null,
				"bill_weight_unit": null
			}
		]
	},
	"code": 200,
	"message": "OK"
}
🟠404失败
修改于 2026-01-01 01:13:15
上一页
订单状态查询
下一页
面单下载
Built with