Sell Steam Items
POST
/merchant/sale/v1/create
Request
Authorization
Add parameter in query
app-key
Example:
app-key: ********************
Query Params
app-key
string
optional
Default:
{{app-key}}
Body Params application/json
appId
integer
required
steamId
integer
required
saleList
array [object {2}]
required
price
number | null
optional
token
string | null
optional
Example
{
"appId": 53,
"steamId": 98,
"saleList": [
{
"price": 13,
"token": "cccccc"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://openapi.c5game.com//merchant/sale/v1/create?app-key' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": 53,
"steamId": 98,
"saleList": [
{
"price": 13,
"token": "cccccc"
}
]
}'
Responses
🟢200成功
application/json
Body
success
boolean | null
optional
data
object (OnSaleResponseDTO)
optional
totalNum
integer | null
optional
successNum
integer | null
optional
failNum
integer | null
optional
shopHideAffNum
integer | null
optional
failedList
array[object (OnSaleFailedItem) {2}] | null
optional
successList
array[object (OnSaleAssetDTO) {19}] | null
optional
highPriceItemIdList
array[integer] | null
optional
errorCode
integer | null
optional
errorMsg
string | null
optional
errorData
object (Object)
optional
errorCodeStr
string | null
optional
Example
{
"success": false,
"data": {
"totalNum": 0,
"successNum": 0,
"failNum": 0,
"shopHideAffNum": 0,
"failedList": [
{
"disableSaleReason": "",
"dataList": [
{
"productId": 0,
"inventoryId": 0,
"steamPrice": 0.0,
"itemId": 0,
"tradableTime": 0,
"price": 0.0,
"fee": 0.0,
"appId": 0,
"imageUrl": "",
"name": "",
"marketHashName": "",
"shortName": "",
"classInfoId": 0,
"assetId": 0,
"classId": 0,
"instanceId": 0,
"token": "",
"itemInfo": {
"quality": "",
"qualityName": "",
"qualityColor": "",
"rarity": "",
"rarityName": "",
"rarityColor": "",
"type": "",
"typeName": "",
"slot": "",
"slotName": "",
"hero": "",
"heroName": "",
"heroAvatar": "",
"exterior": "",
"exteriorName": "",
"exteriorColor": "",
"weapon": "",
"weaponName": "",
"itemSet": "",
"itemSetName": "",
"stickerCapsule": "",
"stickerCapsuleName": "",
"patchCapsule": "",
"patchCapsuleName": "",
"customPlayer": "",
"customPlayerName": "",
"category": "",
"categoryName": "",
"item": "",
"itemName": ""
},
"assetInfo": {
"classInfoId": 0,
"classId": 0,
"instanceId": 0,
"assetId": 0,
"styleId": 0,
"lastStyle": "",
"styleProgress": "",
"wear": 0.0,
"paintIndex": 0,
"paintSeed": 0,
"levelName": "",
"levelColor": "",
"gradient": 0.0,
"fadeColor": "",
"fraudwarning": "",
"inspectImageUrl": "",
"gems": [
{
"id": 0,
"itemId": 0,
"type": "",
"gemType": "",
"gemEnType": "",
"name": "",
"enName": "",
"border": "",
"image": "",
"value": 0.0
}
],
"stickers": [
{
"id": 0,
"type": 0,
"stickerId": 0,
"itemId": 0,
"name": "",
"enName": "",
"image": "",
"slot": 0,
"wear": 0.0,
"price": 0.0
}
],
"styles": [
{
"styleId": 0,
"styleName": "",
"styleEnName": "",
"color": "",
"locked": false
}
],
"itemSets": [
{
"name": "",
"hashName": "",
"itemId": 0,
"price": 0.0,
"isItemSet": 0,
"imageUrl": ""
}
],
"ext": ""
}
}
]
}
],
"successList": [
{
"productId": 0,
"inventoryId": 0,
"steamPrice": 0.0,
"itemId": 0,
"tradableTime": 0,
"price": 0.0,
"fee": 0.0,
"appId": 0,
"imageUrl": "",
"name": "",
"marketHashName": "",
"shortName": "",
"classInfoId": 0,
"assetId": 0,
"classId": 0,
"instanceId": 0,
"token": "",
"itemInfo": {
"quality": "",
"qualityName": "",
"qualityColor": "",
"rarity": "",
"rarityName": "",
"rarityColor": "",
"type": "",
"typeName": "",
"slot": "",
"slotName": "",
"hero": "",
"heroName": "",
"heroAvatar": "",
"exterior": "",
"exteriorName": "",
"exteriorColor": "",
"weapon": "",
"weaponName": "",
"itemSet": "",
"itemSetName": "",
"stickerCapsule": "",
"stickerCapsuleName": "",
"patchCapsule": "",
"patchCapsuleName": "",
"customPlayer": "",
"customPlayerName": "",
"category": "",
"categoryName": "",
"item": "",
"itemName": ""
},
"assetInfo": {
"classInfoId": 0,
"classId": 0,
"instanceId": 0,
"assetId": 0,
"styleId": 0,
"lastStyle": "",
"styleProgress": "",
"wear": 0.0,
"paintIndex": 0,
"paintSeed": 0,
"levelName": "",
"levelColor": "",
"gradient": 0.0,
"fadeColor": "",
"fraudwarning": "",
"inspectImageUrl": "",
"gems": [
{
"id": 0,
"itemId": 0,
"type": "",
"gemType": "",
"gemEnType": "",
"name": "",
"enName": "",
"border": "",
"image": "",
"value": 0.0
}
],
"stickers": [
{
"id": 0,
"type": 0,
"stickerId": 0,
"itemId": 0,
"name": "",
"enName": "",
"image": "",
"slot": 0,
"wear": 0.0,
"price": 0.0
}
],
"styles": [
{
"styleId": 0,
"styleName": "",
"styleEnName": "",
"color": "",
"locked": false
}
],
"itemSets": [
{
"name": "",
"hashName": "",
"itemId": 0,
"price": 0.0,
"isItemSet": 0,
"imageUrl": ""
}
],
"ext": ""
}
}
],
"highPriceItemIdList": [
0
]
},
"errorCode": 0,
"errorMsg": "",
"errorData": {},
"errorCodeStr": ""
}
Modified at 2023-09-29 06:40:26