PUT
Replace Order
Replace an existing order for an account. The existing order will be replaced by the new order. Once replaced, the old order will be canceled and a new order will be created.
Order throttle limits may apply. Click here for to see our Place Order Samples Guide for more information around order throttles and examples of orders.
Resource URL
https://api.tdameritrade.com/v1 /accounts/{accountId}/orders/{orderId}
Header Parameters
Name | Values | Description |
---|---|---|
Authorization |
Supply an access token to make an authenticated request. The format is |
Body Parameters
Resource Summary |
|
Security |
|
Content Type |
application/json |
Category |
Orders |
Response Summary
Resource Error Codes |
||
HTTP Code |
Description |
|
400 |
An error message indicating the validation problem with the request. |
|
401 |
An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header. |
|
500 |
An error message indicating there was an unexpected server error. |
|
403 |
An error message indicating the caller is forbidden from accessing this page. |
|
404 |
An error message if the order was not found. |
Working...