CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页商户中心
首页商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. order related interface
  • Response codes
  • CS2DT Open Platform Access Guide
  • v1
    • user related interface
      • Steam account status query Copy
      • User balance query
      • Create Steam account status check
      • Steam account status query
    • market prodcut related interface
      • CS2 Style Data
      • get full Items
      • Market Search
      • item price query
      • all the filters query
      • item for sale list query
      • Get the sales status of the product
      • Batch query of products on sale by product ID
      • Get the sales details of a product
    • purchase related interface
      • buy item
      • quick buy item
    • order related interface
      • buyer order list v2
        POST
      • buyer order list
        GET
      • buyer order detail
        GET
      • buyer cancel order
        POST
    • callback related
      • Callback Notification Service Description
    • exchange rate
      • USD/CNY exchange rate
    • websocket
      • How to Use WebSocket
      • Get WSS Address
  1. order related interface

buyer order detail

GET
https://openapi.cs2dt.com/v1/order/v2/buy/detail
buyer order detail

请求参数

Query 参数
orderId
integer 
可选
orderId returned by the purchase related interface, orderAssetId in the order record interface
outTradeNo
string 
可选
Either the merchant.
order number or the orderId can be passed in. If both are passed, the orderId is the main one
app-key
string 
可选
默认值:
{{app-key}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://openapi.cs2dt.com/v1/order/v2/buy/detail?orderId&outTradeNo&app-key='

返回响应

🟢200成功
application/json
Body
WebApiRes<OrderDetailDTO>
success
boolean  | null 
可选
Is request successful
data
object 
可选
Business data
orderId
string  | null 
订单id
可选
productId
string  | null 
可选
该笔订单中的商品在售id
price
number  | null 
该笔订单的金额
可选
buyerFee
number  | null 
可选
该笔订单的买家手续费
statusName
string  | null 
订单状态名称
可选
status
integer  | null 
可选
订单状态值 1 等待发货 3 等待收货 10 订单成功 11 订单失败
deliverType
integer  | null 
可选
发货类型 1是人工发货,2是自动发货
receiveSteamId
string  | null 
可选
该笔订单中收货的steamId
openItemInfo
object (OpenItemInfo) 
饰品详情
可选
assetInfo
object (ItemAssetInfoVO) 
饰品独特的信息
可选
offerInfoDTO
object 
可选
订单关联的报价信息,当订单状态为3时可以获取到报价信息
failedDesc
string  | null 
可选
如果订单状态为11,那么这里内容为失败的原因
createTime
integer  | null 
可选
订单创建时间,时间戳
failedCode
string 
可选
当订单状态为11时-订单的失败原因
以下错误原因会对买家进行交易罚款
买家交易被封禁
ORDER_DELIVER_FAILED_OF_RECEIVER_TRADE_BAN
买家发起还价
ORDER_FAILED_OF_BUYER_COUNTERED
买家拒绝收货,拒绝了报价
ORDER_FAILED_OF_BUYER_DECLINE
自动发货,买家超时不收货, 系统取消
ORDER_FAILED_OF_AUTO_DELIVER_ORDER_CANCEL_OF_BUYER_NOT_ACCEPT
人工发货,买家超时不收货, 系统取消
ORDER_FAILED_OF_MANUAL_DELIVER_ORDER_CANCEL_OF_BUYER_NOT_ACCEPT
买家无法交易
ORDER_DELIVER_FAILED_OF_RECEIVER_TRADE_DISABLE
买家被游戏开发者封禁
ORDER_DELIVER_FAILED_OF_RECEIVER_TRADE_GAME_DEVELOPER_BAN
买家 vac
ORDER_DELIVER_FAILED_OF_RECEIVER_TRADE_VAC
买家屏蔽了卖家
ORDER_DELIVER_FAILED_OF_RECEIVER_BLOCK_SENDER
买家库存隐私
ORDER_DELIVER_FAILED_OF_RECEIVER_INVENTORY_PRIVACY
买家库存满
ORDER_DELIVER_FAILED_OF_RECEIVER_INVENTORY_SLOT_FULL
买家交易链接无效
ORDER_DELIVER_FAILED_OF_RECEIVER_TRADE_URL_NOT_VALID
errorCode
integer  | null 
可选
Error code
errorMsg
string  | null 
可选
Error message
errorData
object (Object) 
可选
Error data,when errorCode is not equals to 0,maybe this property will have a value
示例
{
  "success": false,
  "data": {
    "orderId": "",
    "productId": "",
    "price": 0.0,
    "buyerFee": 0.0,
    "statusName": "",
    "status": 0,
    "deliverType": 0,
    "receiveSteamId": "",
    "openItemInfo": {
      "itemId": "",
      "appId": 0,
      "name": "",
      "marketHashName": "",
      "imageUrl": ""
    },
    "assetInfo": {
      "fraudwarning": "",
      "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": "",
      "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": ""
    },
    "offerInfoDTO": {
      "transferId": 0,
      "tradeOfferId": 0
    },
    "failedDesc": "",
    "createTime": 0
  },
  "errorCode": 0,
  "errorMsg": "",
  "errorData": {}
}
修改于 2025-01-03 06:44:16
上一页
buyer order list
下一页
buyer cancel order
Built with