# Get Freight Templates
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/product/delivery/get_freight_template?access_token=xxxxxxxxx
# Request Parameter Sample
{}
# Return Package Example
{
"errcode": 0,
"errmsg": "ok",
"template_list":
[
{
"template_id": 123,
"name": "Guangdong Parcel Post,"
"valuation_type": 1
}
]
}
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | number | Error code |
errmsg | string | Error message |
template_list[].template_id | number | Template ID |
template_list[].name | string | Template name |
template_list[].valuation_type | number | Billing Type |
# Enumerate-valuation_type
Enumeration value | describe |
---|---|
1 | By piece |
2 | By weight |