---
title: "Sửa lệnh"
method: PUT
path: "/mxv/orders/{clientOrderId}"
tags: ["MXV"]
---

# Sửa lệnh

`PUT /mxv/orders/{clientOrderId}`

## Path parameters

- `clientOrderId` string, required

## Query parameters

- `accountType` 0 | 1 | 2

## Request body

- FireAntApiModelsMXVMXVReplaceOrderRequest — Request model for replacing/modifying order
  - `symbol` string, required — Mã hợp đồng
  - `newQuantity` integer — KL mới
  - `orderId` string — OrderID
  - `newPrice` number, double — Giá mới
  - `newStopPrice` number, double — Giá dừng mới

## Response `200`

OK

- FireAntApiModelsMXVMXVOrderResponse — Response model for order operations (place, cancel, replace)
  - `success` boolean — Indicates if the operation was successful
  - `cl_ord_id` string — ClOrdID (Client Order ID: ID tạo bởi TVKD)
  - `order_id` string — OrderID (ID tạo bởi sàn)
  - `message` string — Success message
  - `error` string — Error message (if any)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) · [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireant/fireant-restful-api/revisions/12bfdf99ab50/schema)
