modify_order
Update a live pending order by changing its price or quantity; confirmation is required, and a replacement order ID is returned for all subsequent operations.
Instructions
Modify a live pending order; requires confirm=True before submission.
symbol is required to determine the market. US-market modifications
support changing price only; changing quantity requires canceling and
placing a new order instead.
Toss appears to allow KR-market modifications to decrease or keep the same quantity, but not increase it; increasing quantity requires canceling the order and placing a new one instead.
A modification does not edit an order in place. Toss replaces it with a
new live order under a new ID, and the original order_id becomes
inactive with status REPLACED immediately after a successful
modification. The caller MUST use the returned new_order_id for any
further operations on this order, including checking status, canceling,
or modifying it again. Reusing the original order_id fails with HTTP
409 already-modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| symbol | Yes | ||
| confirm | No | ||
| order_id | Yes | ||
| quantity | No | ||
| order_type | Yes | ||
| account_seq | Yes | ||
| confirm_high_value_order | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||