Skip to main content
POST
/
api
/
accounts
/
{id}
/
orders
/
{ticket}
/
breakeven
Set breakeven
curl --request POST \
  --url https://api.easierprop.com/api/accounts/{id}/orders/{ticket}/breakeven \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "data": {
    "ticket": 12345678,
    "symbol": "EURUSD",
    "open_price": 1.08542,
    "old_sl": 0,
    "new_sl": 1.08542,
    "result": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.easierprop.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Response

200 - application/json

Breakeven result

ok
boolean
Example:

true

data
object