Modify Order
POST{BASE_URL}/orders/modify
Replace an existing whole-quantity order. orig_order_id must identify
the current order revision, and replacement_order_id must be new and
unique. Quantity is the new total quantity and cannot be below the
cumulative filled quantity.
For Korean equities, the account, symbol, side, position effect, and
settlement direction remain unchanged. Use held and Day; change the
limit price and/or whole-share quantity. A replacement may be accepted
while automatic USD-to-KRW funding is active, but the client never
modifies the automatic funding order. Wait for the prior replace outcome
before sending another replace, and reference the latest accepted order
revision.
Request
Responses
- 201
- 400
- 401
Replacement request accepted. Returns the client and GigaMoney identifiers for the replacement.
The request could not be accepted, for example because the account or symbol is unavailable, a required paired account is missing, buying power or position is insufficient, required market pricing is unavailable, an identifier is duplicated, or an order field or requested lifecycle action is invalid.
Missing or invalid credentials, or the account is not entitled to the authenticated client.