Change Order
Header Parameters
Request content type
application/x-www-form-urlencodedBearer token used to authenticate and authorize the request.
Path Parameters
ID of the account
ID of the order to modify
Body Parameters
The new order type
marketlimitstopstop_limitdebitcreditThe new order duration
daygtcprepostThe new limit price (required for limit and stop_limit orders)
The new stop price (required for stop and stop_limit orders)
User-defined tag for the order
Response
Order response information
Response Attributes
Object containing the updated order details including status, items, and metadata.
The order ID
The order type
marketlimitstopstop_limitdebitcreditevenThe security symbol
The side of the order
buybuy_to_coversellsell_shortbuy_to_openbuy_to_closesell_to_opensell_to_closeThe order quantity
The order status
pendingopenpartially_filledfilledexpiredcanceledrejectedpending_cancelThe order duration
daygtcprepostThe average fill price
The executed quantity
The date the order was created
The date of the last transaction
The security class
equityoptionmultilegcomboThe price of the last fill
The quantity of the last fill
The quantity remaining to be filled
Unique identifier representing the partner associated with the order.
Invalid request parameters or body
Authentication required or invalid credentials
Access denied to the requested resource
The requested resource was not found