Edit price for listed 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
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API key |
gameoptional | query | enum | Game code for requested items (csgo, tf2, rust, dota2) enum: csgo, tf2, rust, dota2 |
Request body
| Name | Location | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
itemsoptional | body | array<object> | Array of items | ||||||||
| |||||||||||
{
"items": [
{
"item_id": "141414144",
"price": 1000
}
]
}Responses
200 Successful operation
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
successoptional | boolean | Whether the operation succeeded | ||||||||||||
updatedoptional | array<object> | |||||||||||||
| ||||||||||||||
failedoptional | array<object> | List of items that failed to list | ||||||||||||
| ||||||||||||||
removedoptional | array<string> | Items or orders removed | ||||||||||||
{
"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"
]
}