API
查询入库可选商品
更新时间: 2019-10-16 20:16:17 访问次数:2329
接口说明

可选商品查询,根据WINIT产品、头程类型及目的仓筛选允许下单的商品列表。

接口英文名称

winit.wh.mms.getAvailableMerchandise

使用场景

可选商品查询,仅支持入库单。根据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的唯一编码,卖家可以进入万邑联-个人中心-系统设置-我的资料查询"Winit Account ID"
firstLegType String(20) Y 头程类型:
WC-Winit承运,NS-直发,
说明:标准海外仓入库的头程类型为WC,国内直发验入库与海外直发验入库的头程类型为NS
WC
winitProductCode String(50) Y WINIT产品编码
取接口winit.wh.pms.getWinitProducts中的productCode
destinationWarehouseCode String(50) Y 目的仓编码
取接口winit.pms.getWarehouseList中的warehouseCode
请求示例
{
      "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"
}

                            
返回出参
名称 类型 必填 说明 示例
winitMerchandiseCode String(50) Y M码 M010000000000080947
merchandiseCode String(50) Y 商品编码
merchandiseName String(100) Y 名称
merchandiseNameCn String(100) Y 中文名称
specification String(50) Y 规格
返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    [
            {
         "merchandiseNameCn": "呼呼",
         "winitMerchandiseCode": "M010000000000510317",
         "specification": "",
         "merchandiseName": "jjjjsddsd",
         "merchandiseCode": "004"
      },
            {
         "merchandiseNameCn": "FBA专卖MSR90磁卡读写器(很便宜的那种)",
         "winitMerchandiseCode": "M010000000001485908",
         "specification": "",
         "merchandiseName": "Reader Writer",
         "merchandiseCode": "00EGS06800"
      },
            {
         "merchandiseNameCn": "LC28076-4 Red M",
         "winitMerchandiseCode": "M010000000000080947",
         "specification": "",
         "merchandiseName": "Red V-neck Foil Detail Crisscross Bandage Dress",
         "merchandiseCode": "1502434"
      },
            {
         "merchandiseNameCn": "LC28150 as shown L",
         "winitMerchandiseCode": "M010000000000080946",
         "specification": "",
         "merchandiseName": "Individual Zebra Print Bandage Dress",
         "merchandiseCode": "1502439"
      },
            {
         "merchandiseNameCn": "LC28113-4 Purple L",
         "winitMerchandiseCode": "M010000000000080945",
         "specification": "",
         "merchandiseName": "Crystals Embellished Purple Bandage Dress",
         "merchandiseCode": "1502442"
      },
            {
         "merchandiseNameCn": "Watch",
         "winitMerchandiseCode": "M010000000000498047",
         "specification": "",
         "merchandiseName": "Watch",
         "merchandiseCode": "216401"
      },
            {
         "merchandiseNameCn": "2",
         "winitMerchandiseCode": "M010000000000432972",
         "specification": "2",
         "merchandiseName": "2",
         "merchandiseCode": "222"
      },
            {
         "merchandiseNameCn": "2上架商品3",
         "winitMerchandiseCode": "M010000000000655498",
         "specification": "",
         "merchandiseName": "34ee",
         "merchandiseCode": "25663"
      },
            {
         "merchandiseNameCn": "2上架商品4",
         "winitMerchandiseCode": "M010000000000655499",
         "specification": "",
         "merchandiseName": "22222",
         "merchandiseCode": "25664"
      },
            {
         "merchandiseNameCn": "擾流板",
         "winitMerchandiseCode": "M010000000000304322",
         "specification": "",
         "merchandiseName": "ROOF/TRUNK Spoiler",
         "merchandiseCode": "2U-E92-RA-TCSL"
      },
            {
         "merchandiseNameCn": "iPad mini高清膜2片装(国外)",
         "winitMerchandiseCode": "M010000000000201835",
         "specification": "1",
         "merchandiseName": "ipadminigaoqingmo2pack",
         "merchandiseCode": "4894240023068"
      },
            {
         "merchandiseNameCn": "LED 工作灯",
         "winitMerchandiseCode": "M010000000000193708",
         "specification": "",
         "merchandiseName": "LED CAR LIGHT",
         "merchandiseCode": "4BAR002A"
      },
            {
         "merchandiseNameCn": "CCTV Camera System AA",
         "winitMerchandiseCode": "M010000000000443895",
         "specification": "",
         "merchandiseName": "CCTV Camera System AA",
         "merchandiseCode": "4GN-106W4-00-US-BB11"
      },
            {
         "merchandiseNameCn": "CCTV Camera System AA",
         "winitMerchandiseCode": "M010000000000443896",
         "specification": "",
         "merchandiseName": "CCTV Camera System AA",
         "merchandiseCode": "4GN-106W4-1T-US-CC22"
      },
            {
         "merchandiseNameCn": "HYG-UFO46*3W-W",
         "winitMerchandiseCode": "M010000000000433116",
         "specification": "",
         "merchandiseName": "HYG-UFO46*3W-W",
         "merchandiseCode": "60101064"
      },
            {
         "merchandiseNameCn": "LCD Monitor",
         "winitMerchandiseCode": "M010000000000495703",
         "specification": "",
         "merchandiseName": "LCD Monitor",
         "merchandiseCode": "7880858"
      },
            {
         "merchandiseNameCn": "CCTV Camera System AA",
         "winitMerchandiseCode": "M010000000000443897",
         "specification": "",
         "merchandiseName": "CCTV Camera System AA",
         "merchandiseCode": "8HN-106W8-00-US-DD33"
      },
            {
         "merchandiseNameCn": "CCTV Camera System AA",
         "winitMerchandiseCode": "M010000000000443898",
         "specification": "",
         "merchandiseName": "CCTV Camera System AA",
         "merchandiseCode": "8HN-106W8-1T-US-EE44"
      },
            {
         "merchandiseNameCn": "双肩相机背包 (橘色)",
         "winitMerchandiseCode": "M010000000000445848",
         "specification": "",
         "merchandiseName": "Backpack Camera Bag (orange)",
         "merchandiseCode": "95123.00999999999"
      },
            {
         "merchandiseNameCn": "测试",
         "winitMerchandiseCode": "M010000000001605125",
         "specification": "",
         "merchandiseName": "test",
         "merchandiseCode": "ADFD213"
      },
            {
         "merchandiseNameCn": "车载多功能数显电压表",
         "winitMerchandiseCode": "M010000000001079664",
         "specification": "",
         "merchandiseName": "Digital display voltmeter",
         "merchandiseCode": "AU1QK0231-1"
      },
            {
         "merchandiseNameCn": "Watch",
         "winitMerchandiseCode": "M010000000000498046",
         "specification": "",
         "merchandiseName": "Watch",
         "merchandiseCode": "BZ1607"
      },
            {
         "merchandiseNameCn": "车充SU-C2",
         "winitMerchandiseCode": "M010000000000202010",
         "specification": "",
         "merchandiseName": "Car Charger SU-C2",
         "merchandiseCode": "D00100"
      },
            {
         "merchandiseNameCn": "车充SU-C2",
         "winitMerchandiseCode": "M010000000000202011",
         "specification": "",
         "merchandiseName": "Car Charger SU-C2",
         "merchandiseCode": "D00101"
      },
            {
         "merchandiseNameCn": "LED灯珠11",
         "winitMerchandiseCode": "M010000000000450459",
         "specification": "",
         "merchandiseName": "LED Lamp11",
         "merchandiseCode": "D107-C3G92-10"
      },
            {
         "merchandiseNameCn": "全新料优质白色加厚快递袋子25*35cm",
         "winitMerchandiseCode": "M010000000001079665",
         "specification": "",
         "merchandiseName": "Courier bags",
         "merchandiseCode": "DE1QK0232-1"
      },
            {
         "merchandiseNameCn": "全新料优质白色加厚快递袋子35*45cm",
         "winitMerchandiseCode": "M010000000001079666",
         "specification": "",
         "merchandiseName": "Courier bags",
         "merchandiseCode": "DE1QK0232-2"
      },
            {
         "merchandiseNameCn": "全新料优质白色加厚快递袋子40*55cm",
         "winitMerchandiseCode": "M010000000001079667",
         "specification": "",
         "merchandiseName": "Courier bags",
         "merchandiseCode": "DE1QK0232-3"
      },
            {
         "merchandiseNameCn": "全新料优质白色加厚快递袋子55*75cm",
         "winitMerchandiseCode": "M010000000001079668",
         "specification": "",
         "merchandiseName": "Courier bags",
         "merchandiseCode": "DE1QK0232-4"
      },
            {
         "merchandiseNameCn": "定制长袖翻领工衣冬装工服",
         "winitMerchandiseCode": "M010000000000021633",
         "specification": "",
         "merchandiseName": "Custom winter jacket",
         "merchandiseCode": "DZHOO1"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U6",
         "winitMerchandiseCode": "M010000000000202012",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U6",
         "merchandiseCode": "E00100"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U6",
         "winitMerchandiseCode": "M010000000000202013",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U6",
         "merchandiseCode": "E00101"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U6",
         "winitMerchandiseCode": "M010000000000202014",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U6",
         "merchandiseCode": "E00103"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U8",
         "winitMerchandiseCode": "M010000000000202015",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U8",
         "merchandiseCode": "E00200"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U8",
         "winitMerchandiseCode": "M010000000000202016",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U8",
         "merchandiseCode": "E00201"
      },
            {
         "merchandiseNameCn": "蓝牙耳机U8",
         "winitMerchandiseCode": "M010000000000202017",
         "specification": "",
         "merchandiseName": "Bluetooth headphones U8",
         "merchandiseCode": "E00203"
      },
            {
         "merchandiseNameCn": "PowerBuyerDEF456",
         "winitMerchandiseCode": "M010000000000469268",
         "specification": "",
         "merchandiseName": "34BayItemI34245",
         "merchandiseCode": "EAKKK004"
      },
            {
         "merchandiseNameCn": "PowerBuyerDEF456",
         "winitMerchandiseCode": "M010000000000469269",
         "specification": "",
         "merchandiseName": "34BayItemI34245",
         "merchandiseCode": "EAKKK005"
      },
            {
         "merchandiseNameCn": "反光背心",
         "winitMerchandiseCode": "M010000000000021636",
         "specification": "",
         "merchandiseName": "reflective safety vest",
         "merchandiseCode": "FGBX001"
      },
            {
         "merchandiseNameCn": "凡士林",
         "winitMerchandiseCode": "M010000000001468869",
         "specification": "",
         "merchandiseName": "fanshilin",
         "merchandiseCode": "FSL"
      },
            {
         "merchandiseNameCn": "犹太人同意",
         "winitMerchandiseCode": "M010000000001488564",
         "specification": "",
         "merchandiseName": "Projection lamp",
         "merchandiseCode": "GB-XD00619"
      },
            {
         "merchandiseNameCn": "仿古泡钉 100个/包(菊花青古铜色11.2*16.6mm)",
         "winitMerchandiseCode": "M010000000001480298",
         "specification": "",
         "merchandiseName": "Fixed buckle",
         "merchandiseCode": "GY00111-07"
      },
            {
         "merchandiseNameCn": "数据线HDMI",
         "winitMerchandiseCode": "M010000000000000085",
         "specification": "数据线黑色",
         "merchandiseName": "cable",
         "merchandiseCode": "HDMI 2M Black"
      },
            {
         "merchandiseNameCn": "数据线HDMI白色",
         "winitMerchandiseCode": "M010000000000000086",
         "specification": "数据线白色",
         "merchandiseName": "cable",
         "merchandiseCode": "HDMI 2M White"
      },
            {
         "merchandiseNameCn": "圆桌布",
         "winitMerchandiseCode": "M010000000000432961",
         "specification": "",
         "merchandiseName": "Round Table Cloth",
         "merchandiseCode": "HOM-TC-120R-10WH"
      },
            {
         "merchandiseNameCn": "圆桌布",
         "winitMerchandiseCode": "M010000000000432958",
         "specification": "",
         "merchandiseName": "Round Table Cloth",
         "merchandiseCode": "HOM-TC-120R-1WH"
      },
            {
         "merchandiseNameCn": "圆桌布",
         "winitMerchandiseCode": "M010000000000432959",
         "specification": "",
         "merchandiseName": "Round Table Cloth",
         "merchandiseCode": "HOM-TC-120R-2WH"
      },
            {
         "merchandiseNameCn": "圆桌布",
         "winitMerchandiseCode": "M010000000000432960",
         "specification": "",
         "merchandiseName": "Round Table Cloth",
         "merchandiseCode": "HOM-TC-120R-5WH"
      },
            {
         "merchandiseNameCn": "桌布",
         "winitMerchandiseCode": "M010000000000432967",
         "specification": "",
         "merchandiseName": "Table Cloth",
         "merchandiseCode": "HOM-TC-4FT1-BK"
      },
            {
         "merchandiseNameCn": "桌布",
         "winitMerchandiseCode": "M010000000000432966",
         "specification": "",
         "merchandiseName": "Table Cloth",
         "merchandiseCode": "HOM-TC-4FT1-WH"
      }
   ]
}