文档
测试

立即订购

POST
/goods/getOrderInfo

接口描述

商品详情内的立即订购

请求参数

参数名
类型
描述
必填
delivery_address
string
商品配送地址
必填
goods_id
int
商品编号
必填
specs
array
商品规格数组
必填
num
int
商品数量
必填
province
string
当前省份
必填

响应参数

参数名
类型
描述
必填
reduces
array
降价优惠
必填
title
string
优惠标题:第几12件后,123折
必填
price
int
优惠价格,0标识未做优惠处理
必填
total_price
int
订单总价:15
必填
freight_charge
int
邮费价格:0
必填
payment
int
支付价格:15
必填
data
array
数据列表
必填
title
string
示例:第几12件后,123折
必填
reduces
array
同上优惠
必填
title
string
示例:第几12件后,123折
必填
price
int
示例:0
必填
items
array
商品清单
必填
spec_ids
array
规格编号
必填
spec_txt
string
规格名称:粉色,XXL
必填
goods_num
int
商品数量:1
必填
goods_price
string
商品单价:15.00
必填
total_price
int
商品总价:15
必填
delivery_address
array
配送地址
必填
discounts
int
优惠价格(单个商品):0
必填
taxes
int
税费:0
必填
goods
object
商品信息
必填
id
int
商品编号:66
必填
cover_img_url
string
商品封面:https://img.mofyi.com/202007/0616343069083.png
必填
fare_id
int
示例:41
必填
weight
object
示例:null
必填
title
object
商品标题
必填
goods_id
int
示例:66
必填
title
string
标题:ceshi-0706
必填
origin_place
string
地区:美国
必填
description
object
明细:null
必填
remark
object
备注:null
必填