1551934118171352.jpg

文章内容

微信小程序门店商品规格价格库存接口
作者:admin | 时间:2020-05-26 13:34:16

(1) 请求参数:

 

参数名称

必填

参数值说明

格式要求

pid

int

商品编号

bId

int

门店编号

openId

用户openid

string

 

(2) 返回值说明:Json格式

返回结果:

{"success":true,"msg":"","code":0,"data":[{"SkuId":"1196_0_0_0","Price":60.00,"Stock":42,"cartCount":1}]}

 

 

返回结果参数说明:

 

字段名称

字段编码

数据类型

是否可空

备注

规格编号

SkuId

int


规格售价

Price

string


规格库存

Stock

int


购物车数量

cartCount