---
title: "Edit buy order"
method: POST
path: "/v1/edit-buy-order"
tags: ["Buy order"]
---

# Edit buy order

`POST /v1/edit-buy-order`

## Request

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

Rate limit of create/edit actions for orders is 60 requests per 60 seconds

## Query parameters

- `api` string, required

## Request body

- EditBuyOrderBody
  - `id` number: Buy order id
  - `price` number: New price (1000 = 1$)
  - `amount` number: New or old amount of items

## Response `200`

successful operation

- EditBuyOrderResponse
  - `success` boolean
  - `msg` string, nullable: If missing required parameter(s) then will respond with reason
  - `id` number: Buy order id
  - `amount` number: New amount
  - `price` number: New price (1000 = 1$)

## Other responses

- `429`: Too many requests

---

[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)
