文档
测试

预估查价

POST
http://mkapi.morelink56.com/api/LianLian/channelQuotation

请求头

参数名
类型
描述
必填
Authorization
string
示例:{{Authorization}}
必填
apikey
string
示例:{{apikey}}
必填
tid
string
示例:{{tid}}
必填

请求参数

参数名
类型
描述
必填
params
string
[{"shipFromAddress":{"warehouseCode":"送货仓库编码"},"shipToAddress":{"country":"国家","warehouseCode":"FBA仓库编码","zipCode":"FBA仓库邮编"},"totalWeight":"总重量","totalVolume":"总体积"}]
必填

请求参数JSON

```Json [ { “shipFromAddress”:{“warehouseCode”:“送货仓库编码”}, “shipToAddress”:{“country”:“国家”,“warehouseCode”:“FBA仓库编码”, “zipCode”:“FBA仓库邮编”}, “totalWeight”:“总重量”, “totalVolume”:“总体积” } ] ```

响应参数

参数名
类型
描述
必填
retCode
string
响应码
必填
retMsg
string
响应信息
必填
success
boolean
响应结果
必填
result
list
结果
必填
rateId
报价id
必填
lineType
线路id
必填
shippingCharge
string
对应查价结果页面的预估价格 (运费)
必填
fuelCharge
string
燃油附加费
必填
handlingCharge
操作费
必填
otherCharge
其他费用
必填
totalCharge
string
合计费用
必填
carrierCode
string
承运商 默认:MSHK
必填
insurance
保险费用
必填
duty
object
必填
duty
关税
必填
salesTax
销售税
必填
additionalTax
附加税
必填
totalTax
总税
必填
stationInfo
object
送货仓库信息
必填
stationId
string
仓库编码
必填
name
string
仓库联系人
必填
phone
string
仓库联系方式
必填
address
string
仓库地址
必填
pickUp
boolean
是否支持上门揽收,默认true
必填
currency
币种
必填
chargeWeight
string
计费重
必填
khchannel_id
string
渠道id
必填
channelcode
string
渠道编码
必填
channeltype2
string
渠道名称
必填
delivertype
string
派送方式
必填
jfunit
string
计费单位
必填

响应成功参数JSON

```Json { "retCode": "000000", "retMsg": "请求成功", "success": true, "result": [ { "rateId": "", "lineType": "", "shippingCharge": "运费(合计费用)", "fuelCharge": "燃油附加费", "handlingCharge": "", "otherCharge": "", "totalCharge": "合计费用", "carrierCode": "MSHK", "insurance": "", "duty": { "duty": "", "salesTax": "", "additionalTax": "", "totalTax": "" }, "stationInfo": { "stationId": "仓库编码", "name": "仓库联系人", "phone": "仓库联系方式", "address": "仓库地址" }, "pickUp": true, "currency": "", "chargeWeight": "计费重", "khchannel_id":"渠道id", "channelcode":"渠道编码", "channeltype2":"渠道名称", "delivertype":"派送方式", "jfunit":"计费单位", } ] } ```