| goodsid |
Integer |
否 |
(如果是编辑商品的信息需要传) |
| beid |
Integer |
是 |
店铺ID |
| title |
String |
是 |
商品名称 |
| goodssn |
Integer |
是 |
商品唯一编号[不能重复] |
| pcate |
Integer |
是 |
一级分类id |
| ccate |
Integer |
否 |
二级分类 |
| marketprice |
decimal(10,2) |
否 |
市场上的价格 |
| productprice |
decimal(10,2) |
否 |
产品出售的价格 |
| weight |
decimal(10,2) |
否 |
商品重量 |
| type |
Integer |
否 |
详情展示方式(0富文本1详情图) |
| issendfree |
Integer |
否 |
是否包邮(0否1是)[不包邮的话要填写快递列表] |
| express_list |
String |
否 |
快递列表[快递信息的获取接口目前不支持] |
| sales |
Integer |
否 |
销量 |
| total |
Integer |
是 |
商品总数 |
| totalcnf |
Integer |
否 |
0 拍下立减库存 1 付款减库存 2 永不减库存 |
| credit |
Integer |
否 |
积分 |
| hasoption |
Integer |
否 |
是否有多规格(0否1是)[多规格商品的话options和specs也要传] |
| option_desc |
String |
否 |
规格描述 |
| options |
String |
否 |
多规格参数详情[specs也要一同填写]格式[{"title":"大","stock":"10","productprice":"20","marketprice":"30","weight":"6","sales":"800"},{"title":"小","stock":"10","productprice":"20","marketprice":"30","weight":"6","sales":"800"}] |
| specs |
String |
否 |
规格格式[{"id":0,"name":"大小杯","specItem":[{"id":0,"title":"大"},{"id":0,"title":"小"}]}] |
| description |
Integer |
否 |
商品描述 |
| superscript |
Integer |
否 |
角标 0 未设置 1 新品 2精品 3促销 4 热卖 |
| isrecommand |
Integer |
否 |
是否推荐到首页(1是0否) |
| recommand_title |
String |
否 |
首页推荐的title |
| recommand_thumb_id |
Integer |
否 |
首页推荐主图ID |
| isTime |
Integer |
否 |
是否秒杀(0否1是) |
| timestart |
Integer |
否 |
开始时间(时间戳) |
| timeend |
Integer |
否 |
结束时间(时间戳) |
| is_groupbuy |
Integer |
否 |
是否是拼团 |
| effective_time |
Integer |
否 |
成团的有效时间 |
| groupbuy_price |
decimal(10,2) |
否 |
拼团价格 |
| limit_num |
Integer |
否 |
拼团限定人数 |
| is_bargain |
Integer |
否 |
是否是砍价(0否1是) |
| bargain_time |
Integer |
否 |
砍价时间 |
| bargain_price |
decimal(10,2) |
否 |
砍价价格 |
| sku |
Integer |
否 |
sku编码 |
| displayorder |
Integer |
否 |
排序数字 |
| thumb_id |
Integer |
否 |
商品封面图ID |
| goods_banner |
String |
否 |
商品主图传参格式[{"id":"16617","url":"https://weapp-1253522117.image.myqcloud.com//image/20180730/358911cd0e0b22a5.jpg","src":null,"isThumb":true}\] |
| goods_detail_pic |
String |
否 |
商品详情图(格式同上) |
| brand_id |
Integer |
否 |
品牌ID |
| goodsType |
Integer |
是 |
商品类型(1商品2菜品3内容) |
| setting |
String |
否 |
展示版底部栏设置 |
| tags |
String |
否 |
商品标签服务说明(格式["标签1","标签2"]) |
| has_vip_price |
Integer |
否 |
是否有会员价(0否1是) |
| vip_price |
double |
否 |
会员价 |
| is_virtual_goods |
Integer |
否 |
是否虚拟商品 |