获取商品的在售状态
POST
https://openapi.cs2dt.com/v1/product/v1/info
/v1/product/v1/info
请求参数
Query 参数
app-key
string
可选
默认值:
{{app-key}}
Body 参数application/json
在售商品状态查询列表对象
productIdList
array[integer] | null
必需
示例
{
"productIdList": [
0
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.cs2dt.com/v1/product/v1/info?app-key=' \
--header 'Content-Type: application/json' \
--data-raw '{
"productIdList": [
0
]
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
data
object (ProductInfoListDTO)
可选
totalCount
integer | null
可选
productInfoDTOList
array[object (ProductInfoDTO) {10}] | null
可选
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可 选
示例
{
"success": false,
"data": {
"totalCount": 0,
"productInfoDTOList": [
{
"id": "",
"sellStatus": false,
"appId": 0,
"itemId": "",
"itemName": "",
"marketHashName": "",
"price": 0,
"cnyPrice": 0,
"imageUrl": "",
"delivery": 0
}
]
},
"errorCode": 0,
"errorMsg": "",
"errorData": {}
}
修改于 2024-06-25 05:53:44