Edit Position
Header Parameters
Authorizationstring
Bearer token used to authenticate the request and authorize access to the resource.
Body Parameters
loginstring Required
Trading account login
Min length
1
idstring Required
Position identifier Order ID
Min length
1
slPricenumber
New stop-loss price
tpPricenumber
New take-profit price
Response
200
Object
OK
Response Attributes
statusstring Required
Enum values:
OKREJECTEDPARTIAL_SUCCESSorderIdstring
400
Object
Bad Request
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
401
Object
Unauthorized
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
403
Object
Forbidden
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
500
Object
Internal Server Error
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp