木子屋 Dnawo's BLOG

【API】顺丰速递运费时效查询接口文档

👤 dnawo 📅 2023-07-01 👁 3186 👍 0 💬 0 🔄 来源:本站原创
图片

接口统一HOST:https://www.sf-express.com

一、查询地址编号

POST /sf-service-core-web/service/region/queryRegionListByName?lang=sc&region=cn&translate=sc

{"city":"杭州市","district":"西湖区","province":"浙江省"}

{
"traceId": "3d0befda1912434ab980d399b291409c",
"timestamp": "2023-07-01 00:51:57.935",
"success": true,
"code": 0,
"message": "请求成功",
"detailMessage": null,
"result": [
{
"id": "40-SC",
"code": "A330000000",
"rateCode": "330",
"name": "浙江省",
"lang": "SC",
"level": 2,
"parentCode": "A000086000",
"parentId": "11",
"countryCode": "A000086000",
"distId": "40",
"availableAsDestination": null,
"availableAsOrigin": null
},
{
"id": "144-SC",
"code": "A330100000",
"rateCode": "571",
"name": "杭州市",
"lang": "SC",
"level": 3,
"parentCode": "A330000000",
"parentId": "40",
"countryCode": "A000086000",
"distId": "144",
"availableAsDestination": null,
"availableAsOrigin": null
},
{
"id": "3126-SC",
"code": "A330106000",
"rateCode": "571",
"name": "西湖区",
"lang": "SC",
"level": 4,
"parentCode": "A330100000",
"parentId": "144",
"countryCode": "A000086000",
"distId": "3126",
"availableAsDestination": null,
"availableAsOrigin": null
}
],
"obj": null
}

二、查询运费时效

GET /sf-service-core-web/service/product/psds/freightPrice/query

lang=sc&region=cn&translate=&timestamp=1688140712725&label=1&origin=A330106000&dest=A4403001768&originCityCode=571&destCityCode=755&srcZoneCode=&destZoneCode=&weight=1&weightUnit=kg&postcode=&time=2023-06-30+19:00:00&width=&height=&length=&lengthUnit=&commodityName=&orderCount=1&destPostcode=&payMethod=1&paymentCountry=CN

{
"traceId": "ea28a151ad4e4032bb79c637b98a9cd4",
"timestamp": "2023-07-01 01:08:57.679",
"success": true,
"code": 0,
"message": "请求成功",
"detailMessage": null,
"result": {
"productFreightPrices": [
{
"limitTypeCode": "T4",
"limitTypeName": "顺丰特快",
"cargoTypeCode": "C201",
"cargoTypeName": "包裹",
"productCode": "S1",
"productName": "顺丰特快",
"productDisplayName": "顺丰特快",
"distanceTypeCode": null,
"distanceTypeName": null,
"freight": 23,
"fuelFreight": null,
"regionFreight": null,
"totalFreight": 23,
"additionalFee": null,
"discountFee": null,
"weight": 1,
"currencyCode": "CNY",
"currencyName": "人民币",
"reachTime": "2023-07-01 18:00",
"reachTimeNotice": null,
"reachTimeNoticeTraditional": null,
"reachTimeNoticeEnglish": null,
"deliverTime": null,
"closedTime": null,
"originView": 1,
"destView": 1,
"suburbFlg": false,
"overtimeRefund": 0,
"pickupFreight": null,
"transportFreight": 23,
"distributionFreight": null,
"priceDetail": "首重(1.0kg)23.0元,续重13.0元/kg",
"freightPriceItemList": [],
"specialDisplay": null
},
{
"limitTypeCode": "T6",
"limitTypeName": "顺丰标快",
"cargoTypeCode": "T6",
"cargoTypeName": " ",
"productCode": "S2",
"productName": "顺丰标快",
"productDisplayName": "顺丰标快",
"distanceTypeCode": null,
"distanceTypeName": null,
"freight": 18,
"fuelFreight": null,
"regionFreight": null,
"totalFreight": 18,
"additionalFee": null,
"discountFee": null,
"weight": 1,
"currencyCode": "CNY",
"currencyName": "人民币",
"reachTime": "2023-07-02 12:00",
"reachTimeNotice": null,
"reachTimeNoticeTraditional": null,
"reachTimeNoticeEnglish": null,
"deliverTime": null,
"closedTime": null,
"originView": 1,
"destView": 1,
"suburbFlg": false,
"overtimeRefund": 0,
"pickupFreight": null,
"transportFreight": 18,
"distributionFreight": null,
"priceDetail": "首重(1.0kg)18.0元,续重9.0元/kg",
"freightPriceItemList": [],
"specialDisplay": null
}
],
"productPackServices": []
},
"obj": null
}

相关链接

[1].顺丰运费时效:https://www.sf-express.com/chn/sc/price-query

评论(0)

暂无评论。

验证码
评论需审核通过后显示
← 上一篇 千牛APP个人寄快递不限单量2.8元起(限杭州、宁波) 下一篇 → 红米Note8 Pro闲鱼消息提示音设置方法图解