PATCH /v1/p2p/listings/{id} — 修改挂单价格
调整您在 CSBoard P2P 市场上一条在售挂单的价格。适用与发布时相同的价格下限。
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 写操作限额。
示例请求
示例响应
错误代码
授权
Send your key as a Bearer token on every request: Authorization: Bearer csb_pub_.... Generate keys in your CSBoard profile.
路径参数
Listing id from POST /p2p/listings or GET /p2p/listings.
请求体
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.
Listing id — use it with PATCH / DELETE /p2p/listings/{id}.
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).
What the buyer pays.
USD Our fee on this listing, taken from the seller's side.
What a sale credits to your balance: price_usd minus commission_usd.
Steam asset id of the listed copy.
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.