在售改价
PUT
/product/v1
请求参数
Query 参数
access_token
string
可选
示例值:
{{access_token}}
Body 参数application/json
dataList
array[object (ModifyUpdateAsset) {4}] | null
改价列表
productSellId
integer | null
在售id
price
number | null
价格
description
string | null
描述信息
acceptBargain
integer | null
可选
示例
{
"dataList": [
{
"price": 0.05,
"productSellId": "1269037863483637762"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://partner.c5game.com/api/product/v1?access_token={{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataList": [
{
"price": 0.05,
"productSellId": "1269037863483637762"
}
]
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
data
object (RentAffectedResultVO)
可选
succeed
integer | null
成功数量
failed
integer | null
失败数量
failedList
array[object (FailedRentItemVO) {2}] | null
失败列表
highPriceItemIdList
array[integer] | null
定价过高饰品列表
idList
array[integer] | null
可选
biddingCount
boolean | null
可选
priceCheckResult
array[object (SellPriceCheckVO) {5}] | null
价格检查结果列表
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可选
errorCodeStr
string | null
可选
示例
{
"success": true,
"data": {
"succeed": 1,
"failed": 0,
"failedList": [],
"highPriceItemIdList": null,
"idList": [],
"biddingCount": false,
"priceCheckResult": null
},
"errorCode": 0,
"errorMsg": null,
"errorData": null,
"errorCodeStr": null
}
修改于 2024-06-04 06:33:22