API
查询派送方式
更新时间: 2019-08-08 20:09:26 访问次数:3782
接口说明

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

接口英文名称

queryDeliveryWay

使用场景

1.通过仓库ID,查询该仓库下面可使用的物流渠道
2.查询出的物流渠道包含是否含有增值服务:
如有增值服务,体现在以下参数
serviceCode增值事件编码;
attrCode增值服务属性(一般是投保金额ISA);
minValue投保属性的最小值;
maxValue投保属性的最大值

备注

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

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

增值服务列表
--|serviceCode
String()

增值服务编码
增值事件编码

--|attrList
Array

增值服务信息明细列表
--|--|attrUnit
String()
增值费用计费单位
--|--|minValue
String()
最小值
--|--|attrCode
String()
增值服务属性code
ISA:投保金额
投保金额ISA的最小值:0.01,最大是10000

--|--|maxValue
String()
最大值

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

返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    [
            {
         "deliveryID": 1000368,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "Test Last-mile Service",
         "winitProductCode": "OSF820193"
      },
            {
         "deliveryID": 1000111,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - Ground (Standard 1-5 Business Days)-USWC",
         "winitProductCode": "OSF810595",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1010519,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - Ground (Standard 1-5 Business Days)-Sign-USWC",
         "winitProductCode": "OSF810598",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000113,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - Next Day Air Saver (One-Day Service)-USWC",
         "winitProductCode": "OSF810601",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1010520,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - Next Day Air Saver (One-Day Service)-Sign-USWC",
         "winitProductCode": "OSF810604",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000112,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - 3 Day Select (Express 3 Business Days)-Residential-USWC",
         "winitProductCode": "OSF810607",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1010521,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - 3 Day Select (Express 3 Business Days)-Residential Sign-USWC",
         "winitProductCode": "OSF810610",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000090,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "UPS - Surepost (Economy 1-6 Business Days)-USWC",
         "winitProductCode": "OSF810613",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1032659,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "VAS - UPS - Ground (Standard 1-5 Business Days)-USWC",
         "winitProductCode": "OSF810700",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1033660,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "VAS - UPS - Surepost (Economy 1-6 Business Days)-USWC",
         "winitProductCode": "OSF810706",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000254,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPS - Priority Mail (Express 2-3 Business Days)-USWC",
         "winitProductCode": "OSF810757",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000088,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "DGM - SmartMail Ground (Economy 3-8 Business Days)-USWC",
         "winitProductCode": "OSF810784",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000089,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "DGM - SmartMail Expedited (Economy 2-5 Business Days)-USWC",
         "winitProductCode": "OSF810787",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000252,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPS - First Class Package (Standard 3-5 Business Days)-USWC",
         "winitProductCode": "OSF810790",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000251,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPS - First Class Package International (Standard 6-11 Business Days)-USWC",
         "winitProductCode": "OSF810793",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000253,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPS - Priority Mail International (Standard 6-11 Business Days)-USWC",
         "winitProductCode": "OSF810796",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1026660,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPS - Priority Mail (Express 2-3 Business Days)-eBay-USWC",
         "winitProductCode": "OSF810802",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1025659,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "DHL - Express Worldwide (Express 3-5 Business Days)-USWC",
         "winitProductCode": "OSF810805",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000970,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "VAS - Self pick up service",
         "winitProductCode": "OSF820823"
      },
            {
         "deliveryID": 2000022,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "Self pick up service",
         "winitProductCode": "OSF820856"
      },
            {
         "deliveryID": 2000974,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "Scrap Service(销毁服务)",
         "winitProductCode": "OSF830859"
      },
            {
         "deliveryID": 2000971,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "海外仓退运--空运(普货)",
         "winitProductCode": "OSF820943"
      },
            {
         "deliveryID": 2000972,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "海外仓退运--海运LCL(普货)",
         "winitProductCode": "OSF821045"
      },
            {
         "deliveryID": 2000975,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "滞销品销毁",
         "winitProductCode": "OSF831051"
      },
            {
         "deliveryID": 1017659,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "DHL - Global Forwarding (Standard 5-7 Business Days)-USWC",
         "winitProductCode": "OSF811075",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1031667,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "VAS - DHL - Global Forwarding (Standard 2-5 Business Days)-USWC",
         "winitProductCode": "OSF811117",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 20001815,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "DGM - SmartMail MAX (Express 2-3 Business Days)-USWC",
         "winitProductCode": "OSF811883",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 200036,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "VAS - Self pick up service(palletzation)",
         "winitProductCode": "OSF821973"
      },
            {
         "deliveryID": 2000123,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "SMART - UPS - Ground(Standard 1-5 Business Days)-USWC",
         "winitProductCode": "OSF811002291",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 1000884,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "SMART - DGM - SmartMail MAX (Express 2-3 Business Days)-USWC",
         "winitProductCode": "OSF811002396",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000903,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "SMART - UPS - SurePost(Standard 1-6 Business Days)-USWC",
         "winitProductCode": "OSF811002405",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000906,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "SMART - DGM - SmartMail Ground (Economy 3-8 Business Days)-USWC",
         "winitProductCode": "OSF811002423",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000963,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "SMART - DGM - SmartMail Expedited (Economy 2-5 Business Days)-USWC",
         "winitProductCode": "OSF811002429",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000909,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "FedEx - Ground (Standard 1-5 Business Days)-SV-USWC",
         "winitProductCode": "OSF811002438",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      },
            {
         "deliveryID": 2000771,
         "isMandoorplateNumbers": "N",
         "warehouseID": 1000008,
         "deliveryWay": "USPSN - First Class Package (Standard 3-5 Business Days)-USWC",
         "winitProductCode": "OSF811002771",
         "VASList": [         {
            "serviceCode": "OSF777778",
            "attrList": [            {
               "attrUnit": "CNY",
               "minValue": 0.01,
               "attrCode": "ISA",
               "maxValue": 10000
            }]
         }]
      }
   ]
}