API
查询出库单
更新时间: 2021-06-24 16:30:35 访问次数:13035
接口说明

通过本接口用户可以单次或批量查询已提交的海外仓出库单详细信息、状态。

请求说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://sandboxopenapi.winit.com.cn/openapi/service
接口名称 queryOutboundOrder
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
outboundOrderNum String() Y 海外仓出库单号在用户创建海外仓出库单后获得,唯一 WO0000003291
请求示例
{
    "action": "queryOutboundOrder",
    "app_key": "rebecca",
    "client_id": "ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
    "client_sign": "C7A9503F689580BA7371D78B8BC62856",
    "data": {
    "outboundOrderNum": "WO0000003291"

    },
    "format": "json",
    "language": "zh_CN",
    "platform": "OWNERERP",
    "sign": "A9A4460C89161FF0B261BF89C6D02F15",
    "sign_method": "md5",
    "timestamp": "2015-06-16 00:19:26",
    "version": "1.0"
}

            
返回出参
名称 类型 必填 说明 示例
sellerOrderNo String() Y 卖家订单号
eBayOrderID String(1) eBay订单号
outboundOrderNum String() 海外仓出库单编号
outboundOrderID String() Y 出库单ID
warehouseName String() 仓库名称
warehouseID String() 仓库ID
warehouseCode String() 仓库编码
orderedTime String() 出库单创建时间(系统时间)
outboundDate String() 出库时间
status String() 出库单状态
reasonForVoid String()
Y
作废原因
statusName String() Y 出库单状态中文名
state String() Y 收件人国家,ISO国家二字码
iossNo String(128) N IOSS
city String() Y 收件人城市
澳洲为SUBURB,对应邮编
regionName String() 收件人州
address1 String() 收件人街道1
address2 String() 收件人街道2
phoneNum String() 收件人电话
recipientName String() 收件人姓名
emailAddress String() 收件人邮箱
zipCode String() 邮政编码
deliveryWayName String() 最后一公里派送方式
deliveryWayID String() Y 最后一公里派送方式ID
insuranceType String() 最后一公里派送方式所用保险类型
该字段已停用
insuranceTypeID String() Y 最后一公里派送方式所用保险类型ID
该字段已停用
trackingNum String() 最后一公里物流追踪号
carrier String() 派送公司名称
chargeableWeight String() 包裹计费重量
单位:kg
transactionDate String() 交易日期
格式:YYYY-MM-DD HH:MM:SS
deliveryCosts String() Y 派送费用
以海外仓当地币种结算
deliveryCostsCode String() Y 派关费用编码
派送费货币
eBayValidateResult
String() Y 是否ebay返利
rebateFeeCosts String() Y 返利
rebateFeeCostsCode String() 返利币种
ebayName String() Ebay上显示的快递公司名
handlingFee String() Y 订单处理费
以海外仓当地币种结算
handlingfeeCode String() 订单处理费货币
以海外仓当地币种结算
totalCost String() 总费用
总费用=处理费+派送费+其它,
单位为USD
rate String() 货币单位对美元的汇率
isRepeat String() 卖家订单号是否重复
actualFinishTime String() 服务实际完成时间
scheduledFinishTime String() 服务标准完成时间
deliveryCompletionStatus String() 派送完成情况
及时与否
OT:准时
DL:迟到
productCode String() 商品编码
winit注册商品编码,SKU
specification String() 商品规格
winit注册商品的规格
productNum String() Y 商品数量
winitTrackingNo String() WINIT跟踪号
一般针对untracked服务
包裹列表packageList
weight Number Y 包裹重量kg
serviceCompleteTime String() Y 完成时间(天)

status String()
Y
订单状态编码

serviceStandardTime String()
Y
标准时间(天)

outboundDate String()
Y
出库时间

ontimeStatus String()
Y
准时派送(服务时间、完成时间)

reasonForVoid String()
Y
作废原因
transactionDate String()
Y
交易日期
actualFinishTime String()
Y
实际完成的时间
scheduledFinishTime String()
Y
计划完成时间
packageNum String()
Y
包裹编号
isOperateByWinit String()
Y
是否由万邑通作废
trackingNos Array
Y
跟踪号列表
商品列表packageList.merchandiseList
ebayBuyerID String()
Y
ebay买家id
productCode String()
Y
商品编码
ebayTransactionID String()
Y
ebau交易ID
productNum String()
Y
包裹内商品数量
specification String()
Y
商品规格
itemList String() 商品单品码列表
单品条码列表packageList.merchandiseList.itemList
itemCode
String() 商品单品码
当商品为单品管理时才会有,若商品为商品管理,则为空

返回参数说明 正确的返回结果:查询成功。出库单详情。 错误的返回结果:错误码,错误信息

返回示例
{
    "code": "0",
    "msg": "操作成功",
    "data": {
        "total": 1,
        "currentPageSize": 10,
        "currentPageNum": 1,
        "list": [{
            "winitTrackingNo": null,
            "zipCode": "91436-3631",
            "outboundDate": "2019-08-06 15:06:12",
            "phoneNum": "0419 666990",
            "deliverywayId": 1000254,
            "insuranceType": "No Insurance",
            "ebayName": "USPS",
            "isShareOrder": "N",
            "emailAddress": "status.kitchens@bigpond.com",
            "eBaySellerID": null,
            "deliveryCosts": 8.36,
            "chargeableWeight": 0.025,
            "outboundOrderNum": "WO0000003291",
            "iossNo": "",
            "recipientName": "shane bellingham",
            "state": "US",
            "isRepeat": "Y",
            "orderedTime": "2019-08-06 15:04:18",
            "eBayItemID": null,
            "weight": 0.025,
            "rebateFeeCosts": -0.25,
            "estimateVolume": 4.5E-4,
            "packageList": [{
                "isOperateByWinit": "",
                "outboundDate": "2019-08-06 15:06:12",
                "trackingNos": ["1Z68223Y0306991344"],
                "weight": 0.025,
                "transactionDate": "2019-08-06 15:04:18",
                "actualFinishTime": null,
                "scheduledFinishTime": 0,
                "merchandiseList": [{
                    "productCode": "auto_sku22",
                    "ebayBuyerID": null,
                    "ebayItemID": null,
                    "specification": "",
                    "itemList": [{
                        "itemCode": "S500028000146276965"
                    }],
                    "productNum": 1,
                    "ebaySellerID": null,
                    "ebayTransactionID": null
                }],
                "serviceCompleteTime": 0,
                "ontimeStatus": null,
                "reasonForVoid": "",
                "serviceStandardTime": 0,
                "packageNum": "WO0000003291A",
                "status": "DLI"
            }],
            "storageOntime": null,
            "estimateWeight": 0.025,
            "volume": 4.5E-4,
            "scheduledFinishTime": null,
            "ontimeStatus": null,
            "serviceCompleteTime": null,
            "trackingNum": "1Z68223Y0306991344",
            "handlingfeeCode": "USD",
            "warehouseId": 1000008,
            "cToBpartnerId": 0,
            "serviceStandardTime": null,
            "eBayBuyerID": null,
            "winitProductCode": "OSF810757",
            "countryName": "美国",
            "totalCost": 8.41,
            "status": "DLI",
            "eBayNo": null,
            "eBayValidateResult": "Y",
            "deliveryCompletionStatus": null,
            "sellerOrderNo": "252727722489-1495123873511",
            "handlingFee": 0.05,
            "city": "Encino",
            "insuranceTypeID": 1000000,
            "regionName": "CA",
            "cFromBpartnerId": 0,
            "warehouseName": "USWC Warehouse",
            "warehouseCode": "US0001",
            "rate": 1,
            "statusName": "派送中",
            "deliverywayName": "USPS - Priority Mail (Express 2-3 Business Days)-USWC",
            "isEBayOrder": "N",
            "storeType": "other",
            "outboundOrderID": 329,
            "address2": null,
            "address1": "Unit 8/39 Hill Road",
            "deliveryCostsCode": "USD",
            "specification": "",
            "productNum": 1,
            "transactionDate": null,
            "actualFinishTime": null,
            "carrier": "USPS",
            "bpName": "万邑通质量保证部测试账号1-TEST",
            "productCode": "auto_sku22",
            "rebateFeeCostsCode": "USD",
            "cBpartnerId": 1000019,
            "doorplateNumbers": "123",
            "eBayOrderID": null
        }]
    }
}