Skip to main content
PUT
Modify order

Authorizations

X-API-Key
string
header
required

Client API key (prefixed with sk_). On /api/* endpoints the key is scoped to its own MT5 accounts. On /admin/* endpoints the key identifies its owning admin and grants access to all of that admin's keys — so any of your sk_ works to manage any of your other keys (cross-admin operations are rejected as 400 Key not found).

Path Parameters

id
string<uuid>
required

Account ID

ticket
integer<int64>
required

Order/position ticket number

Body

application/json
price
number

New price (pending orders)

sl
number

New stop loss

tp
number

New take profit

Response

Modification result

ok
boolean
Example:

true

data
object

Full order/position object as returned by the broker