API
查询入库单(列表)
更新时间: 2020-02-12 16:56:34 访问次数:7821
接口说明

查询入库单列表查询。

请求说明
URL https://openapi.winit.com.cn/openapi/service
接口测试 https://openapi.sandbox.winit.com.cn/openapi/service
接口名winit.wh.inbound.getOrderList
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
orderType String(50) N 订单类型
SD-标准海外仓入库
DW-直发海外验入库
DI-直发国内验入库
SD
destinationWareHouseCode String(50) N 目的仓编码
[查询验货/目的仓]仓库编码
US0001
inspectionWareHouseCode String(50) N 验货仓编码
[查询验货/目的仓]仓库编码
SZ0001
orderCreateDateEnd String(50) N 结束下单日期 2016-09-09
orderCreateDateStart String(50) N 开始下单日期 2016-10-09
winitProductCode String(50) Y WINIT产品编码
[查询头程服务]的Winit产品编码
pageParams
pageNo Int Y 页码/第几页 1
pageSize Int Y 分页大小/每页条数 10
请求示例
{
      "action": " winit.wh.inbound.getOrderList",
      "app_key": "rebecca",
      "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
      "client_sign":"E966452CA34E5AD01E257D8F33FBE717",
      "data": {
          "destinationWareHouseCode": "US0001",
          "orderType": "SD",
          "inspectionWareHouseCode": "SZ0001",
          "orderCreateDateEnd": "",
          "orderCreateDateStart": "",
          "pageParams": {
              "pageNo": "1",
              "pageSize": "10"
          },
          "winitProductCode": "OW01010343"
      },
      "format": "json",
      "language": "zh_CN",
      "platform": "OWNERERP",
      "sign": "BDDFBA2AE7D1D06C183A51BDBE6CCA2E",
      "sign_method": "md5",
      "timestamp": "2016-09-09 10:14:15",
      "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
orderList

orderNo String(50) Y WINIT订单号
status String(20) Y 订单状态
DR-草稿:卖家创建草稿单
SB-已提交:新版自验独有。创建订单但未完成验货。
OD-已下单:卖家创建订单,但尚未发货。
RE-已收货: Winit承运,国内验货仓已收货。
TS-运输中: ①Winit承运时,国内验货仓出库完成。 ②卖家直发时,卖家确认发货。
EWC-已到仓 :海外仓收到货。
PS-部分上架:订单中部分包裹上架
SHD-已上架:订单中全部包裹上架,或部分未上架但确定可以关闭。
VO-作废:已下单状态下作废的订单。
STOP-终止:运输中状态下终止的订单。
SB-已提交
weight String Y 下单重量(KG)
最多支持4位小数,精确到0.0001
7.0000
inspectionWeight Number Y 验货重量(KG)
验货时候确认的重量,最多支持4位小数,精确到0.0001

volume String Y 下单体积(CBM)
最多支持9位小数,精确到0.000000001
0.0045
inspectionVolume Number Y 验货体积(CBM)
最多支持9位小数,精确到0.000000001

totalPackageQty String Y 下单包裹数
inspectionTotalPackageQty Integer Y 验货包裹数量
totalItemQty String Y 下单单品数
inspectionTotalItemQty Number Y 验货单品数量
orderCreateDate String Y 下单时间
精确到时分秒
2019-06-17 15:13:21
pageParams
totalCount Int Y 总条数 165
pageSize Int Y 每页条数/分页大小 10
pageNo Int Y 页码/第几页 1

返回示例

{
   "code": "0",
   "msg": "操作成功",
   "data":    {
      "pageParams":       {
         "pageNo": 1,
         "pageSize": 10,
         "totalCount": 165
      },
      "orderList":       [
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-10-14 14:43:46",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005482",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-10-14 14:18:29",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900005465",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 4.5E-4,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-27 15:49:08",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005353",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 0.025,
            "inspectionWeight": null,
            "status": "DR"
         },
                  {
            "volume": null,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-24 15:32:48",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005308",
            "totalPackageQty": null,
            "inspectionTotalPackageQty": null,
            "totalItemQty": null,
            "weight": null,
            "inspectionWeight": null,
            "status": "DR"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-23 12:23:57",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005095",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-09-23 12:03:00",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900005074",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-16 15:53:58",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004972",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-09-16 15:32:05",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900004953",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 5.4E-4,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-11 16:52:48",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004935",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 0.01,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-09 18:53:50",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004906",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         }
      ]
   }
}