查询头程服务
更新时间: 2019-10-16 20:13:39 访问次数:13980
接口说明
通过该接口查询app_key可下单的入库Winit产品。
注意:自有ERP的卖家可以查询一次多次使用;第三方ERP需要根据卖家的app_key进行调用,获得卖家可下单的Winit产品
接口名称
winit.wh.pms.getWinitProducts
请求说明
请求内容 | 说明 |
---|---|
URL | https://openapi.winit.com.cn/openapi/service |
接口测试 | https://sandboxopenapi.winit.com.cn/openapi/service |
验证方法 | Token,md5 |
格式 | json |
字符编码 | UTF-8 |
http请求方式 | http |
请求数限制 | 默认每分钟1000,1000有需要可申请加大。 |
请求入参
名称 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
productType | String(20) | Y | 产品类型 OW0101:标准海外仓入库 OW0102:直发国内验入库 OW0103:直发海外验入库 |
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"
}
返回出参
返回参数说明:正确的返回编码code:0及结果data,错误的返回错误码及错误信息msg。
名称 | 类型 | 必传 | 说明 | 示例 |
---|---|---|---|---|
productCode | String(10) | Y | Winit产品编码 | OW01010343 |
productName | String(60) | Y | Winit产品名称 | 空运-普货 |
description | String(255) | Y | Winit产品描述 |
返回示例
{
"code": "0",
"msg": "操作成功",
"data": [
{
"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": "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": "OW01011748",
"description": "",
"productName": "智能分仓-海运散货"
}
]
}
关键词