{ "opencollection": "1.0.0", "info": { "name": "TD Ameritrade and Trading Accounts Saved Orders API", "version": "1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.tdameritrade.com/auth", "accessTokenUrl": "https://api.tdameritrade.com/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Saved Orders", "type": "folder" }, "items": [ { "info": { "name": "Get Saved Orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/savedorders", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" } ] }, "docs": "Retrieve all saved orders for a specific account." }, { "info": { "name": "Create Saved Order", "type": "http" }, "http": { "method": "POST", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/savedorders", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Save an order template for future use." }, { "info": { "name": "Get Saved Order", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/savedorders/:savedOrderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" }, { "name": "savedOrderId", "value": "", "type": "path", "description": "Unique identifier of the saved order" } ] }, "docs": "Retrieve a specific saved order by its ID." }, { "info": { "name": "Replace Saved Order", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/savedorders/:savedOrderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" }, { "name": "savedOrderId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing saved order with new specifications." }, { "info": { "name": "Delete Saved Order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.tdameritrade.com/v1/accounts/:accountId/savedorders/:savedOrderId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" }, { "name": "savedOrderId", "value": "", "type": "path" } ] }, "docs": "Remove a saved order." } ] } ], "bundled": true }