Sync with Waxpeer session to auto-fill API key

Edit price for listed items

POST/v1/edit-items

Array of items

Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds

Note: item_id is accepted as a string (recommended) or a number, and is returned as a string. Rust asset ids are 18 digits (larger than 2^53), so send and store item_id as a string: a JSON number is rounded by JavaScript and most JSON parsers.

Use the item_id from GET /v1/list-items-steam (your active listings), not from GET /v1/get-my-inventory, which only returns items that are not listed yet. Pass the same game query to both, e.g. ?game=rust (both default to csgo).

Only active listings can be edited: a listing that is paused while you are offline, in a trade or sold fails with "item not found" (match on this prefix; a reason may follow it).

Set the price to 0 to remove the item from sale
The number of items per request is limited to 50

Prices are integers. 1000 = $1.00 USD.

Parameters

NameLocationTypeDescription
api
required
querystring
game
optional
queryenum

Game code for requested items (csgo, tf2, rust, dota2)

enum: csgo, tf2, rust, dota2

Request body

NameLocationTypeDescription
items
optional
bodyarray<object>

Array of items

item_id
optional
bodystring

item_id of your listing from GET /v1/list-items-steam (same game), as a string (recommended) or a number. Rust asset ids are 18 digits (larger than 2^53), so send and store item_id as a string: a JSON number is rounded by JavaScript and most JSON parsers.

price
optional
bodynumber

Item price in integer format (1000 = $1.00 USD)

Example
{
  "items": [
    {
      "item_id": "141414144",
      "price": 1000
    }
  ]
}

Responses

200 Successful operation

NameTypeDescription
success
optional
boolean

Whether the operation succeeded

updated
optional
array<object>
item_id
optional
string

item_id that you sent, as a string

price
optional
string

Item price in integer format (1000 = $1.00 USD)

failed
optional
array<object>

List of items that failed to list

item_id
optional
string

item_id that you sent, as a string

price
optional
number

Item price in integer format (1000 = $1.00 USD)

msg
optional
string

Reason message when success is false

msBeforeNext
optional
number

Milliseconds before next allowed request

removed
optional
array<string>

Items or orders removed

Response
{
  "success": true,
  "updated": [
    {
      "item_id": "141414144",
      "price": "1000"
    }
  ],
  "failed": [
    {
      "item_id": "141414145",
      "price": 1000,
      "msg": "You can update price after 40 seconds",
      "msBeforeNext": 39636
    }
  ],
  "removed": [
    "141414146"
  ]
}