Skip to main content
PATCH
Change a listing's price
修改您某条 active 挂单的价格。以美分精度发送新的 price_usd,范围 0.10 到 100000。响应为更新后的挂单,其中 commission_usd 和 seller_payout_usd 已按新价格重新计算。 与发布时相同的价格下限同样适用,且无法通过确认绕过:低于我们对该物品市场价一半的价格会返回 422 price_below_market,并附带 market_usd 和 floor_usd。已售出或正在交易中的挂单无法再改价。 需要身份验证。 请将密钥作为 Authorization: Bearer csb_pub_... 发送。计入该密钥每分钟 30 次的 P2P 写操作限额。

示例请求

示例响应

错误代码

授权

Authorization
string
header
必填

Send your key as a Bearer token on every request: Authorization: Bearer csb_pub_.... Generate keys in your CSBoard profile.

路径参数

id
string
必填

Listing id from POST /p2p/listings or GET /p2p/listings.

请求体

application/json
price_usd
number
必填

Asking price in USD, whole cents (12.34; 12.345 is refused, not rounded). It may not be under half of our market price for the item — see price_below_market.

必填范围: 0.1 <= x <= 100000必须是以下数值的倍数 0.01

响应

The updated listing.

id
string
必填

Listing id — use it with PATCH / DELETE /p2p/listings/{id}.

status
string
必填

active — on sale. trade_pending, trade_sent, verification_hold — sold and mid-delivery. reconciliation_required — off the shelf because a full inventory read no longer saw the item (needs_resync: true).

price_usd
number
必填

What the buyer pays.

currency
enum<string>
必填
可用选项:
USD
commission_usd
number
必填

Our fee on this listing, taken from the seller's side.

seller_payout_usd
number
必填

What a sale credits to your balance: price_usd minus commission_usd.

market_hash_name
string
必填
asset_id
string
必填

Steam asset id of the listed copy.

needs_resync
boolean
必填

true when the listing was taken off the shelf because your inventory no longer showed the item. It cannot be revived in place — publish the item again once it is back.

created_at
string<date-time>
必填
updated_at
string<date-time>
必填
item_name
string
operational_asset_id
string | null
float_value
number | null