---
title: "Edit price for listed items"
method: POST
path: "/v1/edit-items"
tags: ["Sell items"]
---

# Edit price for listed items

`POST /v1/edit-items`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/edit-items`
- Auth: none declared

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

## Query parameters

- `api` string, required
- `game` 'csgo' | 'tf2' | 'rust' | 'dota2'

## Request body

- object
  - `items` object[]
    - `item_id` number: Steam item_id from /get-my-inventory endpoint
    - `price` number: Price of an item (1000 = 1$)

## Response `200`

successful operation

- object
  - `success` boolean
  - `updated` object[]
    - `item_id` string: Item_id that you passed, if you didn't then it will just send you msg. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds
    - `price` string: New item price (1000 = 1$)
  - `failed` object[]
    - `item_id` number: item_id that you provided in the body will be returned. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds
    - `price` number: Listed price (1000 = 1$)
    - `msg` string: Reason why it failed to update
    - `msBeforeNext` number: Milliseconds before next possible update
  - `removed` number[]: Which items were removed

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
