- PC端
- 商品
- 订单
- 用户
- APP端
- 用户
- 商品
- 订单
商品修改
开发中
POST
/api/admin/store/product/update
最后修改时间:2023-06-07 02:56:36
责任人:未设置
请求参数
Body 参数application/json
activity
array[string]
必需
attr
array [object {3}]
必需
attrName
string
可选
attrValues
string
可选
id
integer
可选
attrValue
array [object {16}]
必需
attrValue
object
可选
brokerage
integer
可选
brokerageTwo
integer
可选
cost
integer
可选
id
integer
可选
image
string
可选
minPrice
integer
可选
otPrice
integer
可选
price
integer
可选
productId
integer
可选
quota
integer
可选
quotaShow
integer
可选
stock
integer
可选
suk
string
可选
volume
integer
可选
weight
integer
可选
cateId
string
必需
content
string
必需
couponIds
array[string]
必需
ficti
integer
必需
flatPattern
string
必需
giveIntegral
integer
必需
id
integer
必需
image
string
必需
isBenefit
boolean
必需
isBest
boolean
必需
isGood
boolean
必需
isHot
boolean
必需
isNew
boolean
必需
isSub
boolean
必需
keyword
string
必需
sliderImage
string
必需
sort
integer
必需
specType
boolean
必需
storeInfo
string
必需
storeName
string
必需
tempId
integer
必需
unitName
string
必需
示例
{
"activity": [],
"attr": [
{
"attrName": "",
"attrValues": "",
"id": 0
}
],
"attrValue": [
{
"attrValue": {
"尺码": "2XL",
"颜色": "DX027白色"
},
"brokerage": 0,
"brokerageTwo": 0,
"cost": 0,
"id": 0,
"image": "",
"minPrice": 0,
"otPrice": 0,
"price": 0,
"productId": 0,
"quota": 0,
"quotaShow": 0,
"stock": 0,
"suk": "",
"volume": 0,
"weight": 0
}
],
"cateId": "",
"content": "",
"couponIds": [],
"ficti": 0,
"flatPattern": "",
"giveIntegral": 0,
"id": 0,
"image": "",
"isBenefit": true,
"isBest": true,
"isGood": true,
"isHot": true,
"isNew": true,
"isSub": true,
"keyword": "",
"sliderImage": "",
"sort": 0,
"specType": true,
"storeInfo": "",
"storeName": "",
"tempId": 0,
"unitName": ""
}
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
string
必需
message
string
必需
示例
{
"code": 0,
"data": "",
"message": ""
}