文档
测试

修改(update)

PUT
/prod/prod

接口描述

修改

请求参数

参数名
类型
描述
必填
prodId
int
产品id
必填
status
int
状态
必填
prodName
string
商品名称
必填
price
decimal
商品价格
必填
oriPrice
decimal
商品原价
必填
totalStocks
int
库存
必填
brief
string
简要描述,卖点等
必填
pic
string
图片
必填
imgs
string
商品图片
必填
categoryId
int
商品分类
必填
skuList
list
sku列表字符串
必填
skuId
int
skuid
必填
prodId
int
商品id
必填
properties
string
销售属性组合字符串,格式是p1:v1;p2:v2
必填
oriPrice
decimal
原价
必填
price
decim
价格
必填
stocks
int
库存
必填
actualStocks
int
实际库存
必填
updateTime
datetime
修改时间
必填
recTime
dateitime
记录时间
必填
partyCode
string
商家编码
必填
modelId
string
商品条形码
必填
pic
string
sku图片
必填
skuName
string
sku名称
必填
prodName
string
商品名称
必填
version
int
必填
weight
double
重量
必填
volume
double
体积
必填
status
int
状态:0禁用 1 启用
必填
isDelete
int
0 正常 1 已被删除
必填
content
string
商品详情
必填
deliveryModeVo
bool
是否能够用户自提 hasUserPickUp自提 hasShopDelivery店铺配送
必填
deliveryTemplateId
int
运费模板id
必填
tagList
list
分组标签列表
必填
paramList
list
商品参数
必填
paramid
string
主键
必填
productid
string
商品ID
必填
paramname
string
参数名称
必填
paramvalue
string
参数值
必填
sort
int
排序
必填