接口说明
卖家或第三方通过该接口可查询LMA订单详情
接口名称
lma.shipment.getOrder
请求说明
URL | https://openapi.winit.com.cn/openapi/service |
接口测试 | https://sandboxopenapi.winit.com.cn/openapi/service |
验证方法 | Token,md5 |
格式 | json |
字符编码 | UTF-8 |
http请求方式 | http |
请求数限制 | 默认每分钟1000,有需要可申请加大。 |
请求入参
名称 | 类型 | 必填 | 说明 | 示例 |
winitOrderNo | String(60) | N | winit订单号 | LMA010000000250CN |
sellerOrderNo | String(60) | N | 卖家订单号 (订单号和卖家订单号至少填写一项) |
请求示例
{
"action":"lma.shipment.getOrder",
"app_key":"rebecca",
"client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
"client_sign":"D066D8C800E3D22E803E06EC8C4C65BB",
"data":{
"winitOrderNo":"LMA010000000250CN",
"sellerOrderNo":""
},
"format":"json",
"language":"zh_CN",
"platform":"OWNERERP",
"sign":"88C82AFB6196BDF25B5710A8BAAAB7BF",
"sign_method":"md5",
"timestamp":"2015-06-16 00:19:26",
"version":"1.0"
}
返回出参
名称 | 类型 | 必填 | 说明 | 示例
|
orderNo | String(60) | Y | winit订单号 |
|
sellerOrderNo | String(50) | Y | 卖家订单号 | test120101112342 |
winitProductCode | String(50) | Y | winit产品编码 |
|
winitProductName | String(50) | Y | winit产品名称 |
|
status | String(8) | Y | 订单状态 | |
发货人信息shipper | ||||
iossNo | String(128) | N | IOSS |
|
senderVat | String(128) | N | 发件人VAT |
|
senderEori | String(128) | N | 发件人EORI |
|
收货人receiver | ||||
buyerCompany | String(100) | N | 收件人公司 |
|
reciverVatEori | String(128) | N | 收件人VAT/EORI |
|
receiverName | String(50) | Y | 收件人名字 | Json |
phoneNo | String(20) | N | 收件人电话 | 02301234101 |
String(60) | N | 收件人邮箱 | 123457@12345.com | |
postCode | String(10) | Y | 收件人邮编 | 77346 |
countryCode | String(50) | Y | 收件人国家 | US |
state | String(50) | N | 收件州/省 | Texas |
city | String(50) | Y | 收件人城市 | Humble |
addressLine1 | String(35) | Y | 收件人地址1 | Lde1 |
addressLine2 | String(35) | N | 收件人地址2 | L32 |
houseNo | String(10) | N | 收件人门牌号 | 1 |
包裹列表parcelList | ||||
--|parcelNo | String(20) | Y | 包裹号 |
|
--|trackingNo | String(128) | Y | 运单号 |
|
--|trackingMessage | String(512) | Y | 最新轨迹信息 |
|
--|status | String(8) | Y | 包裹状态 |
返回示例
{
"code": "0",
"msg": "操作成功",
"data": {
"shipper": {
"iossNo": null,
"senderEori": null,
"senderVat": null
},
"orderNo": "LMA010000923248CN",
"sellerOrderNo": "ddd1673253033",
"receiver": {
"city": "Tavares",
"receiverName": "aaaaaaa aaaaaaaaa",
"countryCode": "United States",
"addressLine1": "0000 aaaaaa aa",
"houseNo": "",
"buyerCompany": "",
"addressLine2": "",
"postCode": "32778",
"state": "FL",
"receiverVatEori": null,
"phoneNo": "0000000000",
"email": ""
},
"winitProductName": "USPS - First Class Package-114",
"winitProductCode": "OSF711006132",
"parcelList": [
{
"parcelNo": "LMA010000923248CNA",
"trackingMessage": "2023-01-09 16:30:36 Ordered",
"trackingNo": "1673253033",
"status": "OD"
}
],
"status": "OD"
}
}