商品编辑
POST
/webtenant/system/product/productNewEdit请求参数
Body 参数application/json
attachmentAoList
array[object (ProductAttachmentAo) {11}]
可选
attachmentId
integer <int32>
可选
attachmentName
string
可选
attachmentUrl
string
可选
canDownloadType
integer <int32>
可选
fileExt
string
可选
fileSize
number <double>
可选
loadNum
integer <int32>
可选
lookNum
integer <int32>
可选
sort
integer <int32>
可选
tryLookType
integer <int32>
可选
viewVolume
integer <int32>
可选
chargeType
integer <int32>
可选
classifyId
integer <int32>
必需
classifyIds
string
可选
effectiveContent
string
可选
effectiveType
integer <int32>
可选
feeType
integer <int32>
可选
fileExt
string
可选
fixShelfDate
string <date-time>
可选
materialSize
number <double>
可选
originalCost
number <double>
可选
productDetail
string
可选
productId
integer <int32>
可选
productName
string
必需
productShortDesc
string
可选
productType
integer <int32>
必需
recommendType
integer <int32>
可选
refundType
integer <int32>
可选
saleBaseNum
integer <int32>
可选
saleCost
number <double>
可选
shelfType
integer <int32>
必需
showType
integer <int32>
可选
thirdLinkUrl
string
可选
totalNum
integer <int32>
可选
updateTime
string <date-time>
可选
示例
{
"attachmentAoList": [
{
"attachmentId": 0,
"attachmentName": "string",
"attachmentUrl": "string",
"canDownloadType": 0,
"fileExt": "string",
"fileSize": 0,
"loadNum": 0,
"lookNum": 0,
"sort": 0,
"tryLookType": 0,
"viewVolume": 0
}
],
"chargeType": 0,
"classifyId": 0,
"classifyIds": "string",
"effectiveContent": "string",
"effectiveType": 0,
"feeType": 0,
"fileExt": "string",
"fixShelfDate": "2019-08-24T14:15:22.123Z",
"materialSize": 0,
"originalCost": 0,
"productDetail": "string",
"productId": 0,
"productName": "string",
"productShortDesc": "string",
"productType": 0,
"recommendType": 0,
"refundType": 0,
"saleBaseNum": 0,
"saleCost": 0,
"shelfType": 0,
"showType": 0,
"thirdLinkUrl": "string",
"totalNum": 0,
"updateTime": "2019-08-24T14:15:22.123Z"
}
示例代码
返回响应
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
额外字段
object
可选
示例
{
"property1": {},
"property2": {}
}
最后修改时间: 11 小时前