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: For Rust items item_id must be a string type, since id is greater than the maximum for number type
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
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API |
gameoptional | query | enum | Which game would you like to edit items from enum: csgo, tf2, rust, dota2 |
Request body
| Name | Location | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
itemsoptional | body | array<object> | |||||||||
| |||||||||||
{
"items": [
{
"item_id": 141414144,
"price": 1000
}
]
}Responses
200 successful operation
{
"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
]
}