查询入库可选商品
更新时间: 2019-10-16 20:16:17 访问次数:8690
接口说明
可选商品查询,根据WINIT产品、头程类型及目的仓筛选允许下单的商品列表。
接口名称
winit.wh.mms.getAvailableMerchandise
请求说明
请求内容 | 说明 |
---|---|
URL | https://openapi.winit.com.cn/openapi/service |
接口测试 | https://sandboxopenapi.winit.com.cn/openapi/service |
验证方法 | Token,md5 |
格式 | json |
字符编码 | UTF-8 |
http请求方式 | http |
请求数限制 | 默认每分钟1000,1000有需要可申请加大。 |
请求入参
名称 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
customerCode | String(50) | Y | 客户编码 客户在WINIT的唯一编码,卖家可以进入万邑联-个人中心-系统设置-我的资料查询”Winit Account ID” |
1000019 |
firstLegType | String(20) | Y | 头程类型: WC:Winit承运 NS:直发 |
WC |
winitProductCode | String(50) | Y | WINIT产品编码 取接口winit.wh.pms.getWinitProducts中的productCode |
OW01010382 |
destinationWarehouseCode | String(50) | Y | 目的仓编码 取接口winit.pms.getWarehouseList中的warehouseCode |
US0001 |
请求示例
{
"action": "winit.wh.mms.getAvailableMerchandise",
"app_key": "rebecca",
"client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
"client_sign":"04DA20E6F8C3823339988C96E27AF234",
"data": {
"customerCode": "1000019",
"firstLegType": "WC",
"winitProductCode": "OW01010382",
"destinationWarehouseCode": "US0001"
},
"format": "json",
"language": "zh_CN",
"platform": "OWNERERP",
"sign": "29DA6662F77B4A61727B8A4E2D13B5E8",
"sign_method": "md5",
"timestamp": "2016-09-09 11:28:54",
"version": "1.0"
}
返回出参
返回参数说明:正确的返回编码code:0及结果data,错误的返回错误码及错误信息msg。
名称 | 类型 | 必传 | 说明 | 示例 |
---|---|---|---|---|
winitMerchandiseCode | String(50) | Y | M码 | M010000000000080947 |
merchandiseCode | String(50) | Y | 商品编码 | 00EGS06800 |
merchandiseName | String(100) | Y | 名称 | Reader Writer |
merchandiseNameCn | String(100) | Y | 中文名称 | 磁卡读写器 |
specification | String(50) | Y | 规格 |
返回示例
{
"code": "0",
"msg": "操作成功",
"data": [
{
"merchandiseNameCn": "LC28076-4 Red M",
"winitMerchandiseCode": "M010000000000080947",
"specification": "",
"merchandiseName": "Red V-neck Foil Detail Crisscross Bandage Dress",
"merchandiseCode": "1502434"
},
{
"merchandiseNameCn": "Watch",
"winitMerchandiseCode": "M010000000000498047",
"specification": "",
"merchandiseName": "Watch",
"merchandiseCode": "216401"
},
{
"merchandiseNameCn": "LED 工作灯",
"winitMerchandiseCode": "M010000000000193708",
"specification": "",
"merchandiseName": "LED CAR LIGHT",
"merchandiseCode": "4BAR002A"
},
{
"merchandiseNameCn": "蓝牙耳机U6",
"winitMerchandiseCode": "M010000000000202013",
"specification": "",
"merchandiseName": "Bluetooth headphones U6",
"merchandiseCode": "E00101"
},
{
"merchandiseNameCn": "PowerBuyerDEF456",
"winitMerchandiseCode": "M010000000000469268",
"specification": "",
"merchandiseName": "34BayItemI34245",
"merchandiseCode": "EAKKK004"
},
{
"merchandiseNameCn": "数据线HDMI白色",
"winitMerchandiseCode": "M010000000000000086",
"specification": "数据线白色",
"merchandiseName": "cable",
"merchandiseCode": "HDMI 2M White"
},
{
"merchandiseNameCn": "桌布",
"winitMerchandiseCode": "M010000000000432966",
"specification": "",
"merchandiseName": "Table Cloth",
"merchandiseCode": "HOM-TC-4FT1-WH"
}
]
}
关键词