下单获取商品信息(先调加入购物车接口,然后带入购物车id)
POST
http://test.ywzyit.com/api.html
请求参数
参数名
类型
描述
必填
method
string
示例:cart.getlist
必填
site_token
int
示例:123456
必填
ids
int
购物车id,示例:3784
必填
token
string
示例:15ad776e1485a4cc527abd6069c25f41
必填
coupon_code
string
优惠券码,没有不传,示例:5SAPD27XH6
可选
can_use_balance
int
1使用余额抵扣,0不使用。示例:1
必填
响应参数
参数名
类型
描述
必填
status
boolean
示例:true
必填
user_id
int
示例:4
必填
type
int
示例:1
必填
id
int
示例:3784
必填
user_id
int
示例:4
必填
product_id
int
示例:9072
必填
nums
int
示例:1
必填
type
int
示例:1
必填
weight
string
示例:0.00
必填
id
int
示例:9072
必填
goods_id
int
示例:1439
必填
barcode
object
示例:null
必填
sn
string
示例:P6073922749521
必填
price
string
示例:27.00
必填
costprice
string
示例:26.50
必填
mktprice
string
示例:0.00
必填
marketable
int
示例:2
必填
stock
int
示例:193
必填
freeze_stock
int
示例:0
必填
spes_desc
string
示例:规格2:颜色随机【介意者慎拍!】
必填
is_defalut
int
示例:1
必填
image_id
string
示例:
必填
isdel
object
示例:null
必填
name
string
示例:骆驼小太阳取暖器家用办公室宿舍烤火炉电热扇
必填
buy_limit
int
示例:0
必填
bn
string
示例:G6073922749442
必填
image_path
string
示例:http://img.ywzyit.com/static/uploads/images/2020/12/08/16073921805fcedbb4510a0.jpg
必填
total_stock
int
示例:193
必填
grade_price
array
数据列表
必填
amount
string
示例:26.50
必填
promotion_list
array
数据列表
必填
promotion_amount
int
示例:0
必填
is_select
boolean
is_select为true的为本次购买商品,展示出来,示例:true
必填
isCollection
boolean
示例:false
必填
goods_amount
string
商品总额,示例:26.50
必填
amount
string
订单总额,示例:26.50
必填
order_pmt
int
订单优惠,示例:0
必填
goods_pmt
int
商品优惠,示例:0
必填
coupon_pmt
int
优惠券优惠金额,示例:0
必填
promotion_list
array
数据列表
必填
cost_freight
int
运费,示例:0
必填
weight
string
示例:0.00
必填
coupon
array
数据列表
必填
point
int
示例:0
必填
point_money
int
示例:0
必填
params
array
数据列表
必填
order_point
float
示例:26.5
必填
msg
string
示例:
必填