Delist
Takes your listings off the market and returns their items to your backpack. Send listing_id for one, or a listing_ids array of up to 500. A bulk delist runs in one transaction: if any id is missing or not yours the request fails with that error and nothing is removed. On success every id comes back in results with ok: true, in the order you sent them. While listing is switched off site-wide, the call fails with LISTING_DISABLED. The v1 equivalent was ISales/ReturnItems.
Authorization
apiKey API key generated from your account settings on the website. Send as Authorization: Bearer csd_....
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/public/v1/delist" \ -H "Content-Type: application/json" \ -d '{ "listing_id": 1 }'{ "listing_id": 1}Sales history GET
Recent marketplace sales, newest first. Filter by `app_id` and/or exact `market_hash_name`. Each row is one sold order line: the price paid in cents, the amount, and when it sold.
Edit a listing PATCH
Changes the price of your active listings. Every listing holds one copy, so price is the only thing an edit changes; `amount` is not accepted. Send exactly one of `price` (cents) or `price_decay`, which puts the listing on an auto-decaying price falling from `start_price` to `end_price` over `total_hours` (24-168). Three body shapes: a single `listing_id`; a `listings` array of up to 50, each with its own price, where each row is applied in its own transaction and comes back in `results` with `ok` and, when it failed, the `error` code the single form would have returned; or a `listing_ids` array of up to 500 sharing one price, applied in one transaction, so if any id fails nothing changes, and the response lists every listing. While listing is switched off site-wide, edits fail with `LISTING_DISABLED`.