---
title: "Update Buy Order"
method: PATCH
path: "/trading/buy-orders/{buy_order_id}"
---

# Update Buy Order

`PATCH /trading/buy-orders/{buy_order_id}`

## Request

- Base URL: `https://csgoempire.com/api/v2`
- URL: `https://csgoempire.com/api/v2/trading/buy-orders/{buy_order_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/csgoempire/apis/csgoempire-api/docs/trading/buy-orders/:buy_order_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Change the price or quantity of a buy order

## Path parameters

- `buy_order_id` integer, required

## Request body

- object
  - `coin_value` integer: New maximum price per item. This is in coincents, so 1 coin = 100 coincents
  - `quantity` integer: New quantity for the buy order. Must be 1 or more.

## Response `200`

- object
  - `success` boolean
  - `data` object
    - `id` integer
    - `market_name` string
    - `wear` string
    - `coin_value` integer
    - `quantity` integer
    - `quantity_filled` integer
    - `quantity_in_progress` integer
    - `quantity_remaining` integer
    - `status` string
    - `pause_reason` unknown
    - `created_at` string
    - `updated_at` string

## Other responses

- `422`: Unprocessable Entity

## Changes

- **2026-11-03** `c7f6fb2eb3e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/csgoempire/apis/csgoempire-api/changes/trading/buy-orders/:buy_order_id/patch.md)

---

[API](https://skmtc.dev/csgoempire/apis/csgoempire-api.md) - [All operations](https://skmtc.dev/csgoempire/apis/csgoempire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/csgoempire/apis/csgoempire-api/revisions/c7f6fb2eb3e4?raw)
