# 查询运费模版
# 接口说明
可通过该接口查询运费模板
# 接口调用请求说明
POST https://api.weixin.qq.com/channels/ec/merchant/getfreighttemplatedetail?access_token=ACCESS_TOKEN
# 请求参数说明
参数 | 类型 | 是否必填 | 描述 |
---|---|---|---|
template_id | String | 是 | 运费模板id |
# 请求参数示例
{
"template_id": "38983386001"
}
# 返回参数说明
参数 | 类型 | 是否必填 | 描述 |
---|---|---|---|
errcode | Number | 是 | 错误码 |
errmsg | String | 是 | 错误信息 |
freight_template | object FreightTemplate | 是 | 运费模板详细信息,具体可参考运费模板定义文档 |
# 返回参数示例
{
"errcode": 0,
"errmsg": "ok",
"freight_template": {
"template_id": "38983386001",
"name": "运费险",
"valuation_type": "PIECE",
"send_time": "SendTime_FOUR_HOUR",
"address_info": {
"user_name": "",
"postal_code": "",
"province_name": "广东省",
"city_name": "广州市",
"county_name": "海珠区",
"detail_info": "",
"national_code": "",
"tel_number": ""
},
"delivery_type": "EXPRESS",
"delivery_id": [],
"shipping_method": "FREE",
"all_condition_free_detail": {
"condition_free_detail_list": []
},
"all_freight_calc_method": {
"freight_calc_method_list": []
},
"create_time": 1653892643,
"update_time": 1653892643,
"is_default": 0,
"not_send_area": {
"address_info": []
}
}
}
# 错误码
错误码 | 错误描述 |
---|---|
公共错误码 | - |
10020005 | 运费模板不存在 |