{ "opencollection": "1.0.0", "info": { "name": "Charles Schwab Market Data Accounts Orders API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.schwabapi.com/v1/oauth/authorize", "accessTokenUrl": "https://api.schwabapi.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "List orders for an account", "type": "http" }, "http": { "method": "GET", "url": "https://api.schwabapi.com/marketdata/v1/accounts/:accountNumber/orders", "params": [ { "name": "accountNumber", "value": "", "type": "path" }, { "name": "fromEnteredTime", "value": "", "type": "query" }, { "name": "toEnteredTime", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" } ] }, "docs": "List orders for an account" }, { "info": { "name": "Place a new order", "type": "http" }, "http": { "method": "POST", "url": "https://api.schwabapi.com/marketdata/v1/accounts/:accountNumber/orders", "params": [ { "name": "accountNumber", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Place a new order" }, { "info": { "name": "Get a specific order", "type": "http" }, "http": { "method": "GET", "url": "https://api.schwabapi.com/marketdata/v1/accounts/:accountNumber/orders/:orderId", "params": [ { "name": "accountNumber", "value": "", "type": "path" }, { "name": "orderId", "value": "", "type": "path" } ] }, "docs": "Get a specific order" }, { "info": { "name": "Cancel an order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.schwabapi.com/marketdata/v1/accounts/:accountNumber/orders/:orderId", "params": [ { "name": "accountNumber", "value": "", "type": "path" }, { "name": "orderId", "value": "", "type": "path" } ] }, "docs": "Cancel an order" } ] } ], "bundled": true }