C5GAME OPEN
  1. Sell
C5GAME OPEN
  • Access Guide
  • Account
    • Account Balance
      GET
    • User Reala Steam List
      GET
  • Sell
    • Sell List
      GET
    • Modify Product Price
      POST
    • Off Sell
      POST
    • Sell Steam Items
      POST
    • Price Query
      POST
  • Order
    • Buyer Order Detail
      GET
    • Buyer Orders
      POST
    • Seller Orders
      POST
  • Buy
    • Quick Buy
      POST
    • Normal Buy
      POST
  • Market
    • Query Item Sell
      POST
  • inventory
  1. Sell

Sell Steam Items

POST
/merchant/sale/v1/create
Sell steam inventory assets

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
steam app id
steamId
integer 
required
steamId
saleList
array [object {2}] 
required
price
number  | null 
optional
sell price(CNY)
token
string  | null 
optional
from steam inventory api endpoint
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
Is request successful
data
object (OnSaleResponseDTO) 
optional
Business data
totalNum
integer  | null 
optional
The amount of trying to sell
successNum
integer  | null 
optional
Successful amount
failNum
integer  | null 
optional
Failed amount
shopHideAffNum
integer  | null 
optional
Number of skins hidden due to store being offline
failedList
array[object (OnSaleFailedItem) {2}]  | null 
optional
List of failed skins
successList
array[object (OnSaleAssetDTO) {19}]  | null 
optional
List of successful skins
highPriceItemIdList
array[integer] | null 
optional
List of overpriced skins
errorCode
integer  | null 
optional
Error code
errorMsg
string  | null 
optional
Error message
errorData
object (Object) 
optional
Error data,when errorCode is not equals to 0,maybe this property will have a value
errorCodeStr
string  | null 
optional
like the errorCode,but this property is string
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
Previous
Off Sell
Next
Price Query
Built with