文档
测试

同步运费模板

POST
https://thirdparty-stage.yanglaoban.com/thirdparty/common/freighttemp/syncfreighttemp

接口描述

不用传参

请求参数

参数名
类型
描述
必填
page
Integer
页码 示例:1
必填
size
Integer
每页条数 示例:10
必填
id
Long
主键
必填
name
String
模板名称
必填
type
Integer
模板类型 1仓库2供应商
必填
status
Integer
模板启用状态
必填
vendorid
Integer
供应商id
必填
logisticsid
Integer
物流公司id
必填
billingtype
Integer
费用类型
必填
defaultflag
Integer
是否为默认模板
必填
startat
Date
开始时间
必填
endat
Date
结束时间
必填

响应参数

参数名
类型
描述
必填
message
String
信息
必填
data
Object
返回数据
必填
id
Long
模板id
必填
tenantid
String
商户id
必填
name
String
模板名称
必填
type
Integer
模板类型 1仓库2供应商
必填
status
Boolean
模板启用状态 true、false
必填
vendorid
Long
供应商id(供应商模板才会有这个值)
必填
vendorname
String
供应商名称(供应商模板才会有这个值)
必填
logisticsid
Long
物流公司id(仓库模板才会有这个值)
必填
logisticsname
String
物流公司名称(仓库模板才会有这个值)
必填
billingtype
Integer
费用类型 1计件、2计重
必填
unifiedcost
BigDecimal
统一费用(当billingType为4时这个值必有,否则为0)(弃用)
必填
defaultflag
Boolean
是否为默认模板 true、false
必填
itemlist
List
配送模板明细项
必填
id
Long
运费模板明细项id
必填
tenantid
String
商户id
必填
freighttempid
Long
运费模板明细项id
必填
thefirstone
Long
首件、首重数量
必填
thefirstonecost
Long
首件、首重运费
必填
additional
Long
续件、续重数量
必填
additionalcost
Long
续件、续重运费
必填
itemarealist
List
区域项
必填
id
Long
运费模板区域明细项id
必填
tenantid
String
商户id
必填
freighttempid
Long
运费模板id
必填
freighttempitemid
Long
运费模板明细项id
必填
code
Integer
地区code
必填
name
String
名称
必填
parentcode
Integer
父级区域code
必填
level
Integer
区域级别
必填
traceid
string
链路ID
必填
now
String
时间戳
必填
code
Integer
状态码
必填