文档
测试

线路运费价格查询

POST
https://api-jiyun-v2.haiouoms.com/api/v1/express-query

接口描述

查询快递线路价格

请求头

参数名
类型
描述
必填
Accept
application/json
必填
App-key
必填

请求参数

参数名
类型
描述
必填
country_id
int
国家ID 示例:13
必填
weight
int
重量 kg 示例:5
必填
prop_ids
array
属性ID数组 数据列表
必填
warehouse_id
int
仓库ID 示例:3
必填
length
int
长度 cm 示例:10
可选
width
int
宽度cm示例:10
可选
height
int
高度 cm示例:10
可选

响应参数

参数名
类型
描述
必填
status
boolean
示例:true
必填
message
string
示例:ok
必填
data
array
数据列表
必填
name
string
线路名 示例:普货
必填
icon
string
图标 示例:http://jiyunnew.test/storage/admin/icon/default.png
必填
reference_time
string
时效 示例:10天
必填
min_weight
int
最小重量 kg 示例:1
必填
max_weight
int
最大重量 示例:15
必填
is_delivery
int
示例:0
可选
count_weight
int
计费重量 示例:1
必填
count_first
int
首费 示例:31
必填
count_next
int
续费 示例:0
必填
expire_fee
int
总价格 示例:74
必填
costs
array
数据列表
必填
name
string
线路附加费用 示例:拍照收费
必填
price
int
价格 示例:0
必填
remark
string
备注 示例:
必填

说明 / 示例

```json { "status": true, "message": "ok", "data": [ { "name": "普货", "icon": "http://jiyunnew.test/storage/admin/icon/default.png", "reference_time": "10天", "min_weight": 1, "max_weight": 15, "is_delivery": 0, "count_weight": 1, "count_first": 31, "count_next": 0, "expire_fee": 74, "costs": [ { "name": "拍照收费", "price": 0, "remark": "" }, { "name": "打包费用", "price": 0, "remark": "" }, { "name": "退运费", "price": 0, "remark": "" }, { "name": "快速清关", "price": 0, "remark": "" } ] } ] } ```