Modify price or quantity of a pending order
Modifies one or more fields of a pending limit or stop order: price, quantity, take_profit, stop_loss.
Only working (pending) orders can be modified. The order goes through pending_replace → validation → working with updated values.
If the new quantity or price would violate trading rules (e.g., max contracts), the modification is rejected.
Requires x-idempotency-key header.
Body
Modify order request
Modify the price and/or quantity of a pending limit or stop order. Only pending orders can be modified.
Example
UUID of the trading account
"550e8400-e29b-41d4-a716-446655440000"
UUID of the order to modify
"7c9e6679-7425-40de-944b-e07fc1f90ae7"
New price (limit price for limit orders, stop price for stop orders)
6100
New quantity (must be > 0)
x >= 02
New planned stop-loss for unfilled entry orders with deferred brackets
6075
New planned take-profit for unfilled entry orders with deferred brackets
6125
Related topics
Get all orders (filled, pending, cancelled)Get order history from database (append-only lifecycle events)Cancel a pending orderGet active working ordersCancel all pending orders for an account