商品下架
DELETE
/product/v1
请求参数
Query 参数
access_token
string
可选
示例值:
{{access_token}}
Body 参数application/json
appId
integer | null
游戏id
productIds
array[integer] | null
商品id
示例
{
"appId": 730,
"productIds": [
"1269037863487832065"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://partner.c5game.com/api/product/v1?access_token={{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": 730,
"productIds": ["1269037863487832065"]
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
data
object (OffSaleResponseDTO)
可选
successNum
integer | null
成功数量
failedNum
integer | null
失败数量
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可选
errorCodeStr
string | null
可选
示例
{
"success": true,
"data": {
"successNum": 1,
"failedNum": null
},
"errorCode": 0,
"errorMsg": null,
"errorData": null,
"errorCodeStr": null
}
修改于 2024-06-04 06:33:38