生成订单(confirm)
POST
/p/order/confirm
接口描述
结算,生成订单信息>传入下单所需要的参数进行下单 注:店铺id为品牌id
请求参数
响应参数
参数名
类型
描述
必填
actualTotal
double
实际总值
必填
total
double
商品总值
必填
totalCount
int
商品总数
必填
orderReduce
double
订单优惠金额(所有店铺优惠金额相加)
必填
addrId
int
地址id
必填
receiver
string
收货人
必填
province
string
省
必填
city
string
市
必填
area
string
区域
必填
addr
string
详细地址
必填
mobile
string
手机号
必填
commonAddr
int
是否默认地址(1:是 0:否)
必填
provinceId
int
省id
必填
cityId
int
城市ID
必填
areaId
int
区域ID
必填
shopId
int
店铺id
必填
shopName
string
店铺名称
必填
actualTotal
double
实际总值
必填
total
double
商品总值
必填
totalCount
int
商品总数
必填
transfee
double
运费
必填
discountReduce
double
促销活动优惠金额
必填
couponReduce
double
优惠券优惠金额
必填
shopReduce
double
店铺优惠金额(促销活动 + 优惠券 + 其他)
必填
remarks
string
订单备注信息
必填
coupons
list
整个店铺可以使用的优惠券列表
必填
orderNumber
string
订单编号
必填
coupons
list
整个订单可以使用的优惠券列表
必填