API
- OpenAPI(Winit) 概述
- 海外仓(OSWH) API接口
- ISP全球直发快递API
- 海外仓API(OSWH)
- 海外仓-商品
- 海外仓-入库
- 海外仓-出库
- 海外仓出库API对接时序
- WO01.仓库代码查询
- WO02.海外仓总库存查询
- WO03.派送方式查询
- WO05.预估派送费用查询(新)
- WO05.预估派送费用查询
- WO06.德国地址校验接口
- WO07.创建海外仓出库单(确认中)
- WO08-1.创建海外仓出库单(草稿)
- WO08-2.提交作废海外仓出库单
- WO08.修改海外仓出库单
- WO09.修改出库单商品信息
- WO10.出库单列表查询
- WO11.海外仓出库单查询
- WO12-1.轨迹查询(库内+尾程派送)
- WO12.轨迹查询(库内)
- WO13.海外仓库存DOI查询
- WO13-1.查询DOI库存详情
- WO05-1.预计运费-新
- WO06-1.EGD订单担保校验接口
- 海外仓出库API列表
- 尾程派送方式代码
- 万邑邮选API(ISP)
WI04.查询可选商品
更新时间: 2017-11-22 16:43:01 访问次数:710
接口说明
可选商品查询,根据WINIT产品、头程类型及目的仓筛选允许下单的商品列表。
使用场景
可选商品查询,仅支持入库单。根据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,有需要可申请加大。 |
请求入参
名称 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
customerCode | String(50) | Y | 客户编码,(客户在WINIT的唯一编码) | |
firstLegType | String(20) | Y | 头程类型:WC-Winit承运,NS-直发,说明:标准海外仓入库的头程类型为WC,国内直发验入库与海外直发验入库的头程类型为NS | |
winitProductCode | String(50) | Y | WINIT产品编码 | |
destinationWarehouseCode | String(50) | Y | 目的仓编码 |
请求示例
{ "action": "winit.wh.mms.getAvailableMerchandise", "app_key": "rebecca", "data": { "customerCode": "1000019", "firstLegType": "WC", "productCode": "OW01010382", "warehouseCode": "US0001" }, "format": "json", "language": "zh_CN", "platform": "sw", "sign": "00000000000000000000000000000000", "sign_method": "md5", "timestamp": "2016-09-09 11:28:54", "version": "1.0" }
返回出参
名称 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
winitMerchandiseCode | String(50) | Y | M码 | M010000000000080947 |
merchandiseCode | String(50) | Y | 商品编码 | |
merchandiseName | String(100) | Y | 名称 | |
merchandiseNameCn | String(100) | Y | 中文名称 | |
specification | String(50) | Y | 规格 |
返回示例
{ "code": "0", "data": [ { "categoryId": 3065, "cnName": "LC28076-4 Red M", "code": "M010000000000080947", "created": 1412796814000, "createdby": "yitao.wang", "customerCode": "1000019", "customerName": "Winit (UK)", "height": 10, "id": 79515, "internetSite": "http://www.dear-lover.com/Red-V-neck-Foil-Detail-Crisscross-Bandage-Dress-p6572.html", "isActive": "Y", "isDelete": "N", "isExempted": "N", "isFinance": "N", "isNew": "N", "isPatentCertificate": "N", "isRestricted": "N", "isSelfDeclaresth": "N", "isSuitSale": "N", "length": 12, "name": "Red V-neck Foil Detail Crisscross Bandage Dress", "orgId": 1000000, "originCountryCode": "CN", "registerHeight": 5, "registerLength": 5, "registerVolume": 125, "registerWeight": 0.6, "registerWidth": 5, "sellerCategoryId": 1017957, "skuCode": "1502434", "specification": "", "supervisorMode": "SI", "updated": 1473437705000, "updatedby": "Process-US", "volume": 0.0012, "weight": 2, "width": 10 } ], "msg": "操作成功" } { "code": "0", "msg": "操作成功", "data": [ { "merchandiseNameCn": "性能测试商品10", "merchandiseCode": "10_xn_api_sku", "merchandiseName": "10_xn_api_sku", "specification": "", "winitMerchandiseCode": "M010000000000661945" } ] }
关键词