marketCancel
Withdraw a listing.
Cancelling parks the item in your expired bucket rather than returning it to the stash — call `marketTransfer` (or `marketClaimAll`) afterwards to pull it back. The listing fee is not refunded.
In Marketplace.
Request
POST /api/v1/sessions/{accountKey}/actions/marketCancel
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
listingId (listing_id) | string | yes | From `marketList` or `myMarketList`. It exceeds 2^53, so it travels as a string — parsing it as a JSON number will corrupt it. |
Example request
{ "listingId": "9007199254740993" }
Response
`{ ok: true, result, listingId }`.
Example response
{ "ok": true, "result": 1, "listingId": "9007199254740993" }
Errors
| Code | When |
|---|---|
action_failed | The listing is not yours, or is no longer live. |
plan_limit | Not on the free plan. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.