Skip to main content
PUT
https://api-gw.verolabs.co/api/v1
/
orders
/
stop-order
/
{orderId}
/
modify
Modify a stop-loss order
curl --request PUT \
  --url https://api-gw.verolabs.co/api/v1/orders/stop-order/{orderId}/modify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "FPT",
  "side": "B",
  "stopPrice": 123,
  "stopCondition": ">=",
  "orderType": "LO",
  "price": 123,
  "quantity": 123,
  "account": "<string>"
}
'
{
  "status": 123,
  "data": "<unknown>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer token used for protected REST API requests.

Path Parameters

orderId
string
required

Order identifier.

Body

application/json

Stop-loss order modification payload.

Payload for modifying an existing stop-loss order.

symbol
string

Trading symbol or product code.

Example:

"FPT"

side
enum<string>

Order side.

Available options:
B,
S
Example:

"B"

stopPrice
number

Updated trigger price for the stop-loss order.

stopCondition
enum<string>

Updated trigger condition.

Available options:
>=,
<=
Example:

">="

orderType
enum<string>

Order type submitted after the trigger condition is met.

Available options:
LO,
MTL
Example:

"LO"

price
number

Updated order price.

quantity
number

Updated order quantity.

account
string

Trading account identifier.

Response

Stop-loss order updated.

Order response wrapper.

status
integer

Status code returned with the order response.

data
any

Order response payload, or null on failure.

message
string

Order success or error message.