API
查询发货供应商
更新时间: 2019-10-16 20:24:32 访问次数:1930
接口说明

发货供应商查询,客户自发物流时,需要告知发货的供应商类型。

接口英文名称

winit.ups.carrier.getCarriers

使用场景

发货供应商查询,仅支持入库单,客户自发物流时,需要告知发货的供应商类型。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
shipperType String(50) Y 承运人类型: CUSTOMER-自发物流 CUSTOMER
请求示例
{
      "action": "winit.ups.carrier.getCarriers",
      "app_key": "rebecca",
      "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
      "client_sign":"60C07A894E3A38131DD5EDAE8F33C0CF",
      "data": {
          "shipperType": "CUSTOMER"
      },
      "format": "json",
      "language": "zh_CN",
      "platform": "OWNERERP",
      "sign": "D2BBCDAEF3598F2E716C8CC6A7F2D14E",
      "sign_method": "md5",
      "timestamp": "2016-09-09 10:52:58",
      "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
carrierList 承运人列表
-|shipperCode String(50) Y 承运人编码 LB
-|shipperName String(50) Y 承运人名称 龙邦

返回参数说明 正确的返回结果:发货供应编码,发货供应商名称。 错误的返回结果:错误码,错误信息。

返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data": {"carrierList":    [
            {
         "shipperName": "龙邦",
         "shipperCode": "LB"
      },
            {
         "shipperName": "TOLL IPEC PTY LTD",
         "shipperCode": "TOLL IPEC PTY LTD"
      },
            {
         "shipperName": "Australia Post-Sunyee",
         "shipperCode": "110000010"
      },
            {
         "shipperName": "Yodel Ltd",
         "shipperCode": "1001371"
      },
            {
         "shipperName": "P2P eSolutions Ltd",
         "shipperCode": "10001862"
      },
            {
         "shipperName": "DHL Express",
         "shipperCode": "DHL Express"
      },
            {
         "shipperName": "XDP",
         "shipperCode": "1000311"
      },
            {
         "shipperName": "圆通",
         "shipperCode": "YT"
      },
            {
         "shipperName": "Deutsche Post AG",
         "shipperCode": "10000675"
      },
            {
         "shipperName": "德邦",
         "shipperCode": "DB"
      },
            {
         "shipperName": "UPS",
         "shipperCode": "UPS_LM"
      },
            {
         "shipperName": "Parcelforce",
         "shipperCode": "10005573"
      },
            {
         "shipperName": "中通",
         "shipperCode": "ZT"
      },
            {
         "shipperName": "Fedex_SV",
         "shipperCode": "Fedex"
      },
            {
         "shipperName": "Dynamic Parcel Distribution",
         "shipperCode": "10000509"
      },
            {
         "shipperName": "DE POST",
         "shipperCode": "DE POST_LM"
      },
            {
         "shipperName": "TOLL Priority",
         "shipperCode": "TOLL Priority"
      },
            {
         "shipperName": "DHL Global Forwarding",
         "shipperCode": "DGF"
      },
            {
         "shipperName": "优速",
         "shipperCode": "YS"
      },
            {
         "shipperName": "Royal Mail",
         "shipperCode": "10000312"
      },
            {
         "shipperName": "HKD Global Logistics",
         "shipperCode": "HKD"
      },
            {
         "shipperName": "USPS",
         "shipperCode": "United States Postal Service"
      },
            {
         "shipperName": "Total Quality Logistics",
         "shipperCode": "TQL"
      },
            {
         "shipperName": "Australia Post",
         "shipperCode": "UBI_LM"
      },
            {
         "shipperName": "UK DPD",
         "shipperCode": "10001145"
      },
            {
         "shipperName": "DHL Global Mail",
         "shipperCode": "DHL Global Mail"
      },
            {
         "shipperName": "Fastway Couriers",
         "shipperCode": "Fastway Couriers"
      },
            {
         "shipperName": "DHL Vertriebs GmbH",
         "shipperCode": "10000552"
      },
            {
         "shipperName": "Colissimo",
         "shipperCode": "100006271"
      },
            {
         "shipperName": "Fedex",
         "shipperCode": "Fedex SP"
      },
            {
         "shipperName": "PR",
         "shipperCode": "Parcel Research"
      },
            {
         "shipperName": "Australia Post_WYM",
         "shipperCode": "AUPOST_WYM"
      },
            {
         "shipperName": "DHL Freight GmbH",
         "shipperCode": "10002865"
      },
            {
         "shipperName": "B2C Europe",
         "shipperCode": "110000005"
      },
            {
         "shipperName": "韵达",
         "shipperCode": "YD"
      },
            {
         "shipperName": "panther group",
         "shipperCode": "1026371"
      },
            {
         "shipperName": "Panther",
         "shipperCode": "L20160720"
      }
   ]}
}