查询发货供应商
更新时间: 2019-10-16 20:24:32 访问次数:8102
接口说明
在创建入库单时,如果提货方式是自发物流,需要指定发货供应商。
查询可以标记的国内发货供应商列表,若无则填:其他;标准海外仓入库必选
接口名称
winit.ups.carrier.getCarriers
请求说明
请求内容 | 说明 |
---|---|
URL | https://openapi.winit.com.cn/openapi/service |
接口测试 | https://sandboxopenapi.winit.com.cn/openapi/service |
验证方法 | Token,md5 |
格式 | json |
字符编码 | UTF-8 |
http请求方式 | http |
请求数限制 | 默认每分钟1000,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"
}
返回出参
返回参数说明:正确的返回编码code:0及结果data,错误的返回错误码及错误信息msg。
名称 | 类型 | 必传 | 说明 | 示例 |
---|---|---|---|---|
carrierList | Array | Y | 发货供应商list | |
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"
}
]}
}
关键词