API
查询头程服务
更新时间: 2019-10-16 20:13:39 访问次数:3514
接口说明

卖家或第三方通过该接口查询Winit服务产品。

接口英文名称

winit.wh.pms.getWinitProducts

使用场景

卖家或第三方通过该接口查询Winit服务产品。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
productType String(20) Y 产品类型:
  • OW0101-标准海外仓入库
  • OW0102-直发国内验入库
  • OW0103-直发海外验入库
  • SSW11-标准存储仓入库(已停用)
  • SSW12-直发存储仓(已停用)
产品和创建入库单的入库单订单类型orderType关系对应准确才能下单成功,对应关系如下:
SD-标准海外仓入库,使用OW0101-标准海外仓入库的物流产品
DW-直发海外验入库,使用OW0103-直发海外验入库的物流产品
DI-直发国内验入库,使用OW0102-直发国内验入库的物流产品
OW0101
请求示例
{
      "action": "winit.wh.pms.getWinitProducts",
      "app_key": "rebecca",
      "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
      "client_sign":"0277A3A8C6317C328F3DEE000F67E0D9",
      "data": {
          "productType": "OW0101"
      },
      "format": "json",
      "language": "zh_CN",
      "platform": "OWNERERP",
      "sign": "E1C24A580130083B26F9783BE058705C",
      "sign_method": "md5",
    "timestamp": "2016-09-09  10:08:14",
      "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
productCode String(10) Y Winit产品编码
productName String(60) Y Winit产品名称
description String(255) Y Winit产品描述
返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    [
            {
         "productCode": "OW01011240",
         "description": "",
         "productName": "空运测试2.0"
      },
            {
         "productCode": "OW01011505",
         "description": "",
         "productName": "空运-电商清关"
      },
            {
         "productCode": "OW01010343",
         "description": "",
         "productName": "空运-普货"
      },
            {
         "productCode": "OW01011607",
         "description": "",
         "productName": "海运整柜散装40HQ-DE传统清关"
      },
            {
         "productCode": "OW01011589",
         "description": "",
         "productName": "海运整柜散装20GP-DE传统清关"
      },
            {
         "productCode": "OW01011493",
         "description": "",
         "productName": "海运整柜散装-40HQ-电商清关"
      },
            {
         "productCode": "OW01011066",
         "description": "",
         "productName": "海运整柜散装-40HQ"
      },
            {
         "productCode": "OW01011496",
         "description": "",
         "productName": "海运整柜散装-20GP-电商清关"
      },
            {
         "productCode": "OW01010345",
         "description": "",
         "productName": "海运整柜散装-20GP"
      },
            {
         "productCode": "OW01011610",
         "description": "",
         "productName": "海运整柜40HQ-DE传统清关"
      },
            {
         "productCode": "OW01011475",
         "description": "",
         "productName": "海运整柜-40HQ-电商清关"
      },
            {
         "productCode": "OW01011063",
         "description": "",
         "productName": "海运整柜-40HQ"
      },
            {
         "productCode": "OW01011499",
         "description": "",
         "productName": "海运整柜-20GP-电商清关"
      },
            {
         "productCode": "OW01011075",
         "description": "",
         "productName": "海运整柜-20GP"
      },
            {
         "productCode": "OW01011502",
         "description": "",
         "productName": "海运散货-电商清关"
      },
            {
         "productCode": "OW01011586",
         "description": "",
         "productName": "海运散货-DE传统清关"
      },
            {
         "productCode": "OW01010334",
         "description": "",
         "productName": "海运散货"
      },
            {
         "productCode": "OW01011784",
         "description": "",
         "productName": "智能分仓-海运整柜散装-40HQ"
      },
            {
         "productCode": "OW01011805",
         "description": "",
         "productName": "智能分仓-海运整柜散装-20GP"
      },
            {
         "productCode": "OW01011745",
         "description": "",
         "productName": "智能分仓-海运整柜-40HQ"
      },
            {
         "productCode": "OW01011808",
         "description": "",
         "productName": "智能分仓-海运整柜-20GP"
      },
            {
         "productCode": "OW01011748",
         "description": "",
         "productName": "智能分仓-海运散货"
      }
   ]
}