添加
开发中POST
/server/{merId}/template/create请求参数
Path 参数
merId
string
必需
示例代码
返回响应
successful operation(200)
successful operation
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
name
string
名称
type
string
可选
计费方式 0=数量 1=重量 2=体积
appoint
number
可选
开启指定包邮 0 1
undelivery
number
可选
开启指定区域不配送 0 1
info
string
运费说明
sort
number
排序
region
array [object {5}]
配送区域信息
city_id
array[number]
配送城市信息
first
number
首件条件
first_price
string
首件金额
continue
number
续件
continue_price
string
续件金额
free
array [object {3}]
包邮信息
city_id
array[string]
可选
number
number
包邮条件 几件起
price
number
包邮金额
undelives
object
不配送区域信息
city_id
array[number]
可选
示例
{
"name": "string",
"type": "string",
"appoint": 0,
"undelivery": 0,
"info": "string",
"sort": 0,
"region": [
{
"city_id": [
0
],
"first": 0,
"first_price": "string",
"continue": 0,
"continue_price": "string"
}
],
"free": [
{
"city_id": [
"string"
],
"number": 0,
"price": 0
}
],
"undelives": {
"city_id": [
0
]
}
}
最后修改时间: 2 年前