订单—创建
POST
/order/createOrders
接口描述
创建订单
请求参数
参数名
类型
描述
必填
platform_params
string
T+平台参数
可选
wmcode
string
微盟订单号
可选
jwcode
string
佳为订单号
可选
custom_type
string
客户类型
可选
saleId
int
暂未使用
可选
supplier
int
供货商id
可选
orderCode
string
订单号前缀,如订单“DH”
必填
ctype
int
订单支付状态,0为未支付,1为部分支付,2为已支付
必填
otype
int
支付方式,0为未支付、1为预存款支付、2为微信支付、5为组合支付
必填
ocode
string
关联订单号
可选
flag
int
订单类型,0和99为订货单,2为退货单,8为子单,9为预售单,97为差异单,98为配差单,1为已删除
必填
depot
int
仓库id
必填
border
int
关联订单id
必填
log
string
发货单号记录
可选
stime
string
提交时间
可选
oman
string
订单审核人
可选
fman
string
财务审核人
可选
orderTime
string
订单审核时间
可选
fanTime
string
财务审核时间
可选
rmoney
int
已收款金额,单位分
必填
dmoney
int
待收款金额,单位分
必填
smoney
int
待审核金额,单位分
必填
cancel
string
订单作废原因
可选
sf
int
部门id
可选
replaced
int
订单标识
必填
billType
string
发票类型
可选
billContext
string
发票内容
可选
identityNumber
string
纳税人识别号
可选
attachment
string
附件,JSON字符串
可选
size
int
订单商品总体积
必填
weight
int
订单商品总重量
必填
eprice
int
配送费用,单位分
必填
sprice
int
订单特批价,单位分
必填
oprice
int
订单金额,单位分
必填
man
string
下单客户名称
可选
context
string
订单商品清单,JSON字符串
可选
company
int
所属商家id
必填
custom
string
下单客户编码
可选
time
string
送达时间
可选
express
string
配送方式,1为平台配送,2为上门自提
可选
DistributionFee
int
分销费,单位分
可选
taxes
int
税费,单位分
可选
cost
int
金额,单位分
可选
billTitle
string
发票抬头
可选
bdesc
string
订单备注
可选
odesc
string
暂未使用
可选
linkman
string
联系人姓名
可选
phone
string
手机号码
可选
address
string
收货信息
可选
type
int
订单状态,详见说明
必填
zone
int
片区
可选
trip
int
行程
可选
employee
int
员工id
可选
creater
string
制单人名称
可选