-
开发者必读
批量获取中国直发订单状态
POST https://eu-openapi.chukou1.cn:83/v1/directExpressOrders/{idType}
½Ó¿Ú˵Ã÷: 批量获取中国直发订单状态,根据返回的Status属性判断订单是否创建成功
只返回存在的订单信息
Http 200 - 成功
Http 404 - packageId不存在ÊäÈë²ÎÊý
URI Parameters
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ idType IdType None.
±ØÐë
输入参数id的类型
Body Parameters
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ Ids Collection of string None.
±ØÐë
处理号或跟踪号,每次请求不超过20个
{ "Ids": [ "sample string 1", "sample string 2" ] }
·µ»Ø½á¹û
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ WeightInit integer None.
初始包裹重量(g)
600
PackingInit Packing None.
初始包装尺寸(cm)
Weight integer None.
核实包裹重量(g)
600
Packing Packing None.
核实包装尺寸(cm)
ChargedWeight integer None.
计费重量(g)
600
ServiceCode string None.
产品代码
MailingDate string None.
发件地当地发货日期
2024-11-08
PackageId string None.
出库包裹ID
SMT23015236489
Ck1PackageId string None.
处理号
EUU20160808TST00001
Status CreateStatus None.
状态
Creating
HandleStatus DirectExpressOrderStatus None.
处理状态
Submitted
TrackingNumber string None.
跟踪号
T024963157
ExtraTrackNumber string None.
副跟踪号
AZ123456QW
IsFinalTrackingNumber boolean None.
是否是最终跟踪号,部分渠道是到仓后才会有最终跟踪号的
true
ShippingProvider string None.
承运商
DHL
CreateFailedReason UnShippedReason None.
创建失败原因
ShippingCosts Collection of ShippingCost None.
费用列表,已完成出库才会返回费用信息
HasRemoteFee boolean None.
是否产生偏远地区费用
WarehouseReceivedTime string None.
分拣仓收到货物时间 yyyy/MM/dd HH:mm:ss
WarehouseDepartedTime string None.
从分拣仓出库时间 yyyy/MM/dd HH:mm:ss
CreatedTime date None.
包裹创建时间
[ { "WeightInit": 1, "PackingInit": { "Length": 1, "Width": 2, "Height": 3 }, "Weight": 2, "Packing": { "Length": 1, "Width": 2, "Height": 3 }, "ChargedWeight": 3, "ServerSource": "sample string 4", "Country": "sample string 5", "ServiceCode": "sample string 6", "MailingDate": "sample string 7", "PackageId": "sample string 8", "Ck1PackageId": "sample string 9", "Status": "Creating", "HandleStatus": "Initial", "TrackingNumber": "sample string 10", "ExtraTrackNumber": "sample string 11", "IsFinalTrackingNumber": true, "ShippingProvider": "sample string 13", "RetryCount": 14, "CreateFailedReason": { "ReasonCode": "sample string 1", "ReasonText": "sample string 2", "ExtendMessage": "sample string 3" }, "ShippingCosts": [ { "Money": 1, "Currency": "sample string 2", "Type": "None", "Remark": "sample string 3" }, { "Money": 1, "Currency": "sample string 2", "Type": "None", "Remark": "sample string 3" } ], "HasRemoteFee": true, "WarehouseReceivedTime": "sample string 16", "WarehouseDepartedTime": "sample string 17", "CreatedTime": "2024-11-25T18:21:22.104+08:00" }, { "WeightInit": 1, "PackingInit": { "Length": 1, "Width": 2, "Height": 3 }, "Weight": 2, "Packing": { "Length": 1, "Width": 2, "Height": 3 }, "ChargedWeight": 3, "ServerSource": "sample string 4", "Country": "sample string 5", "ServiceCode": "sample string 6", "MailingDate": "sample string 7", "PackageId": "sample string 8", "Ck1PackageId": "sample string 9", "Status": "Creating", "HandleStatus": "Initial", "TrackingNumber": "sample string 10", "ExtraTrackNumber": "sample string 11", "IsFinalTrackingNumber": true, "ShippingProvider": "sample string 13", "RetryCount": 14, "CreateFailedReason": { "ReasonCode": "sample string 1", "ReasonText": "sample string 2", "ExtendMessage": "sample string 3" }, "ShippingCosts": [ { "Money": 1, "Currency": "sample string 2", "Type": "None", "Remark": "sample string 3" }, { "Money": 1, "Currency": "sample string 2", "Type": "None", "Remark": "sample string 3" } ], "HasRemoteFee": true, "WarehouseReceivedTime": "sample string 16", "WarehouseDepartedTime": "sample string 17", "CreatedTime": "2024-11-25T18:21:22.104+08:00" } ]