Guides
Guides

Amend order

Modify an open (unfilled) order. Both order_price and quantity are required.

Modify an open (unfilled) order by its UUID. The order's currency is inherited from its UUID; no trade_currency is needed.

Both order_price and quantity are required. A price-only amend returns 400 order quantity out of permissible range.

Request

curl -X PATCH "https://trade.mudrex.com/fapi/v1/futures/orders/{order_id}" \
  -H "Content-Type: application/json" \
  -H "X-Authentication: your-secret-key" \
  -d '{
    "order_price": "0.11380",
    "quantity": "44.0"
  }'

Parameters

ParameterTypeRequiredDescription
order_idstringYesThe order UUID (path parameter).
order_pricestringYesNew order price (USDT). Required together with quantity.
quantitystringYesNew quantity (base asset). Required together with price.

Response

Status: 200 OK

{
    "success": true,
    "data": {
        "message": "Order updated successfully"
    }
}

Response fields

FieldDescription
messageStatus message.

Did this page help you?