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 50 — in bulk each is removed in its own transaction and every id comes back in results with ok and any error, in the order you sent them. 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` (cents) or `amount` of your active listings. Send a single listing body, or a `listings` array of up to 50 to edit in bulk — the per-listing semantics are identical either way. In bulk each listing is applied in its own transaction, so a failure affects only that row: every entry comes back in `results` with `ok` and, when it failed, the `error` code the single form would have returned, in the order you sent them. Send either field or both. Raising `amount` takes more of the same item from your backpack. Lowering it returns the surplus to your backpack — *unless* you send `price` at the same time, which is a partial reprice: the listing keeps the `amount` you asked for at the new price and the surplus stays on the market in a new listing at the old price, so repricing part of a stack never takes the rest off sale. The response is always the listing you edited; find the new one through `GET /public/v1/my-listings`.