API
WO03.派送方式查询
更新时间: 2017-11-22 17:09:26 访问次数:772
接口说明

通过本接口用户可通过提交海外仓ID来查询该仓库对应的派送方式。

使用场景

通过该接口,用户可查询库仓对应的所有派送方式,选择合适的派送方式。

备注

请求说明
URL http://api.winit.com.cn/ADInterface/api
接口测试 http://erp.sandbox.winit.com.cn/ADInterface/api
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
warehouseID String(10) Y 由万邑通定义的仓库ID,每个仓库有唯一一个对应的ID。
请求示例
{
    "action":"queryDeliveryWay",
    "app_key":"rebecca",
    "data":{
        "warehouseID":1000008
    },
    "format":"json",
    "language":"zh_CN",
    "platform":"SELLERERP",
    "sign":"899118225E11FB2423AB088EE1213248",
    "sign_method":"md5",
    "timestamp":"2015-06-16 00:19:26",
    "version":"1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
winitProductCode String(80) Y 派送方式代码 0
deliveryWay String(255) Y 派送方式名称
deliveryID String() Y 派送方式ID
isMandoorplateNumbers String(1) Y 派送方式是否门牌号必填
warehouseID String(10) Y 海外仓仓库ID

错误的返回结果:错误码,错误信息

返回示例
{
   "code": 0,
   "msg": "操作成功",
   "data":    [
            {
         "deliveryID": 1000111,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS GROUND SERVICE",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810595"
      },
            {
         "deliveryID": 1010519,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS Ground Sign Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810598"
      },
            {
         "deliveryID": 1000113,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS NEXT DAY AIR SAVER SERVICE",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810601"
      },
            {
         "deliveryID": 1010520,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS Next Day Air Saver Sign Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810604"
      },
            {
         "deliveryID": 1000112,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS 3RD DAY SELECT-RESIDENTIAL SERVICE",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810607"
      },
            {
         "deliveryID": 1010521,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS 3rd Day Select-Residential Sign Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810610"
      },
            {
         "deliveryID": 1000090,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "UPS SUREPOST SERVICE",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810613"
      },
            {
         "deliveryID": 1000254,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "USPS Priority Mail Parcels Tracked Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810757"
      },
            {
         "deliveryID": 1000252,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "USPS First Class Mail Tracked Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810790"
      },
            {
         "deliveryID": 1000251,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "USPS First Class Mail Tracked International Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810793"
      },
            {
         "deliveryID": 1000253,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "USPS Priority Mail Parcels Tracked International Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810796"
      },
            {
         "deliveryID": 1026660,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "USPS Priority Mail Parcels Tracked Service-for ebay",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810802"
      },
            {
         "deliveryID": 1025659,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "DHL Express International Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF810805"
      },
            {
         "deliveryID": 2000022,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "Self Pick Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF820856"
      },
            {
         "deliveryID": 1017659,
         "isMandoorplateNumbers": "N",
         "deliveryWay": "DHL Global Forwarding Service",
         "warehouseID": 1000008,
         "winitProductCode": "OSF811075"
      }
   ]
}