订单创建
POST
http://127.0.0.1:8006/api/order请求参数
Body 参数application/json
customerUserId
string
用户id
totalAmount
integer
订单总金额
payAmount
integer
支付金额
freightAmount
integer
运费金额
source
integer
订单来源
type
integer
订单类型
0:正常订单 1:秒杀订单 2:促销订单
cneeName
string
收货人
cneePhone
string
收货人电话
cneePostCode
string
收货人邮编
cneeProvinc
string
收货人所在省
cneeCity
string
收货人所在市
cneeRegion
string
收货人所在区
cneeDetailAddress
string
收货人详细地址
receiveTime
string
收货时间
remark
string
订单备注信息
示例
{
"customerUserId": "string",
"totalAmount": 0,
"payAmount": 0,
"freightAmount": 0,
"source": 0,
"type": 0,
"cneeName": "string",
"cneePhone": "string",
"cneePostCode": "string",
"cneeProvinc": "string",
"cneeCity": "string",
"cneeRegion": "string",
"cneeDetailAddress": "string",
"receiveTime": "string",
"remark": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 2 年前