### Response Example for Get Recent Trades Source: https://developers.tossinvest.com/docs/market-data Example JSON response for a successful retrieval of recent trade data, including price, volume, timestamp, and currency. ```JSON { "result": [ { "price": "72000", "volume": "120", "timestamp": "2026-03-25T09:30:42.000+09:00", "currency": "KRW" }, { "price": "71900", "volume": "50", "timestamp": "2026-03-25T09:30:41.500+09:00", "currency": "KRW" }, { "price": "72000", "volume": "200", "timestamp": "2026-03-25T09:30:40.800+09:00", "currency": "KRW" } ] } ``` -------------------------------- ### Create Order Request Body Example Source: https://developers.tossinvest.com/docs/order Example of a JSON request body for creating a new order, including client order ID, symbol, side, order type, quantity, and price. ```JSON { "clientOrderId": "my-order-001", "symbol": "005930", "side": "BUY", "orderType": "LIMIT", "quantity": "10", "price": "70000" } ``` -------------------------------- ### Order Details Response Schema Source: https://developers.tossinvest.com/docs/order-history Example JSON response structure for a successful order detail retrieval. ```JSON { "result": { "orderId": "0d5QIHjmtksbsmM-hBRAgP-ExI8iodGm9fAR5txelPfnMM8XQ_swoJdwL5RpGWMo", "symbol": "005930", "side": "BUY", "orderType": "LIMIT", "timeInForce": "DAY", "status": "FILLED", "price": "70000", "quantity": "10", "orderAmount": null, "currency": "KRW", "orderedAt": "2026-03-28T09:30:00+09:00", "canceledAt": null, "execution": { "filledQuantity": "10", "averageFilledPrice": "70000", "filledAmount": "700000", "commission": "1400", "tax": "0", "filledAt": "2026-03-28T09:31:15+09:00", "settlementDate": "2026-03-30" } } } ``` -------------------------------- ### Get Specific Order Details Source: https://developers.tossinvest.com/docs/order-history Retrieves detailed information for a specific order using its ID. Supports all order statuses. ```Shell curl https://openapi.tossinvest.com/api/v1/orders/0d5QIHjmtksbsmM-hBRAgP-ExI8iodGm9fAR5txelPfnMM8XQ_swoJdwL5RpGWMo \ --header 'X-Tossinvest-Account: 1' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` -------------------------------- ### Example Curl Request Source: https://developers.tossinvest.com/docs/asset This snippet shows a sample curl command for interacting with the TossInvest API. It includes common headers like 'accept' and 'X-Tossinvest-Account-Required'. ```Shell curl -X GET \ http://localhost:3000/asset \ -H 'accept: application/json' \ -H 'X-Tossinvest-Account-Required: 1' \ -G --data-urlencode 'symbol=005930' ``` -------------------------------- ### Modify Order Request Example Source: https://developers.tossinvest.com/docs/order This cURL command demonstrates how to send a POST request to modify an existing order, specifying the order type, quantity, and price. ```Shell curl https://openapi.tossinvest.com/api/v1/orders/0d5QIHjmtksbsmM-hBRAgP-ExI8iodGm9fAR5txelPfnMM8XQ_swoJdwL5RpGWMo/modify \ --request POST \ --header 'X-Tossinvest-Account: 1' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --data '{ "orderType": "LIMIT", "quantity": "15", "price": "71000" }' ``` -------------------------------- ### Get Exchange Rate Source: https://developers.tossinvest.com/docs/market-info Retrieves currency exchange rate information. Requires authentication and specifies base and quote currencies. ```http GET Server: https://openapi.tossinvest.com /api/v1/exchange-rate Copy URL Send Send get request to https://openapi.tossinvest.com/api/v1/exchange-rate Close Client 환율 조회 AllAuthCookiesHeadersQuery All ## AuthenticationRequired Selected Auth Type: oauth2ClientCredentials OAuth 2.0 Client Credentials Grant. `POST /oauth2/token` 으로 발급받은 access token 을 모든 요청의 `Authorization: Bearer {access_token}` 헤더로 전달합니다. --- Token URL : /oauth2/tokenClear Value Client ID : 12345 Client Secret : Show Password Credentials Location : headerClear Value Scopes Selected 0 / 0 Add Scope Deselect All Authorize ## Variables Enabled| Key| Value ---|---|--- ## Cookies Enabled| Key| Value ---|---|--- | Key | Value ## Headers Enabled| Key| Value ---|---|--- | accept| application/json | Key | Value ## Query Parameters Clear All Query Parameters Enabled| Key| Value ---|---|--- | dateTime| 2026-03-25T09:30:00+09:00 | baseCurrency Required | USD | quoteCurrency Required | KRW | Key | Value ## Request Body NoneNo Body ``` -------------------------------- ### Get Order Book Source: https://developers.tossinvest.com/docs/market-data Retrieves the order book (호가) for a given stock symbol. ```APIDOC ## GET /api/v1/orderbook ### Description 호가 조회 ### Method GET ### Endpoint /api/v1/orderbook ### Query Parameters - **symbol** (string) - Required - 종목 심볼. ### Authentication OAuth 2.0 Client Credentials Grant. `POST /oauth2/token` 으로 발급받은 access token 을 모든 요청의 `Authorization: Bearer {access_token}` 헤더로 전달합니다. ### Headers - **accept**: application/json ### Request Example (No specific request example provided in the source for this endpoint, but authentication and query parameters are described.) ``` -------------------------------- ### Market Operating Hours Response (200 OK) Source: https://developers.tossinvest.com/docs/market-info Example JSON response for a successful query of Korean market operating hours. ```json { "result": { "today": { "date": "2026-03-25", "integrated": { "preMarket": { "startTime": "2026-03-25T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-25T08:50:00+09:00", "endTime": "2026-03-25T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-25T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-25T15:20:00+09:00", "endTime": "2026-03-25T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-25T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-25T15:40:00+09:00", "endTime": "2026-03-25T20:00:00+09:00" } } }, "previousBusinessDay": { "date": "2026-03-24", "integrated": { "preMarket": { "startTime": "2026-03-24T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-24T08:50:00+09:00", "endTime": "2026-03-24T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-24T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-24T15:20:00+09:00", "endTime": "2026-03-24T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-24T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-24T15:40:00+09:00", "endTime": "2026-03-24T20:00:00+09:00" } } }, "nextBusinessDay": { "date": "2026-03-26", "integrated": { "preMarket": { "startTime": "2026-03-26T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-26T08:50:00+09:00", "endTime": "2026-03-26T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-26T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-26T15:20:00+09:00", "endTime": "2026-03-26T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-26T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-26T15:40:00+09:00", "endTime": "2026-03-26T20:00:00+09:00" } } } } } ``` -------------------------------- ### Get Exchange Rate Source: https://developers.tossinvest.com/docs/market-info Retrieves the exchange rate between two specified currencies at a given date and time. Requires authentication. ```APIDOC ## GET /api/v1/exchange-rate ### Description Queries the exchange rate between a base currency and a quote currency for a specific date and time. Authentication is required using OAuth 2.0 Client Credentials. ### Method GET ### Endpoint /api/v1/exchange-rate ### Parameters #### Query Parameters - **dateTime** (string) - Required - The date and time for which to retrieve the exchange rate (YYYY-MM-DDTHH:mm:ss+09:00). - **baseCurrency** (string) - Required - The base currency (e.g., USD). - **quoteCurrency** (string) - Required - The quote currency (e.g., KRW). ### Request Example (No specific request example provided in source, but follows standard GET request structure with query parameters) ### Response #### Success Response (200) (Schema not provided in source, but typically would include rate information) #### Error Responses - **400** - Bad Request - **401** - Unauthorized - **429** - Rate limit exceeded - **500** - Internal Server Error ``` -------------------------------- ### Get Order Book Information Source: https://developers.tossinvest.com/docs/market-data Retrieves the order book (bid and ask prices) for a specified stock symbol. Requires authentication via OAuth 2.0 Client Credentials Grant. ```Shell curl -X GET 'https://openapi.tossinvest.com/api/v1/orderbook?symbol=005930' \ -H 'Authorization: Bearer YOUR_SECRET_TOKEN' \ -H 'accept: application/json' ``` -------------------------------- ### Get Stock Information Source: https://developers.tossinvest.com/docs/asset Retrieve detailed information about a specific stock using its symbol. This endpoint requires specific headers and can accept query parameters for filtering. ```APIDOC ## GET /stock/{symbol} ### Description Retrieves information for a given stock symbol. ### Method GET ### Endpoint /stock/{symbol} ### Headers - **accept**: application/json - **X-Tossinvest-Account**: Required ### Query Parameters - **symbol** (string) - Required - The stock symbol to query (e.g., 005930). ### Request Body None ### Response #### Success Response (200) - **field1** (type) - Description of field1 - **field2** (type) - Description of field2 #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Get Order List Source: https://developers.tossinvest.com/docs/order-history Retrieves a list of orders based on specified filters. Users can filter orders by status, symbol, date range, and pagination parameters. ```APIDOC ## GET /api/v1/orders ### Description Retrieves a list of orders based on specified filters. Users can filter orders by status, symbol, date range, and pagination parameters. ### Method GET ### Endpoint /api/v1/orders ### Parameters #### Query Parameters - **status** (string) - Optional - Filters orders by their status (e.g., OPEN). Defaults to OPEN if not specified. - **symbol** (string) - Optional - Filters orders by the trading symbol (e.g., 005930). - **from** (string) - Optional - The start date for filtering orders (YYYY-MM-DD format). - **to** (string) - Optional - The end date for filtering orders (YYYY-MM-DD format). - **cursor** (string) - Optional - A cursor for pagination to retrieve the next set of results. - **limit** (integer) - Optional - The maximum number of orders to return per page. Defaults to 20. #### Headers - **X-Tossinvest-Account** (integer, int64) - Required - The account sequence number to use for the API request. Use the `accountSeq` value from the `GET /api/v1/accounts` response. - **Authorization** (string) - Required - Bearer token for authentication. ### Request Example ```shell curl -X GET https://openapi.tossinvest.com/api/v1/orders?status=OPEN&symbol=005930&from=2026-03-01&to=2026-03-31&limit=20 \ --header 'X-Tossinvest-Account: 1' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` ### Response #### Success Response (200) (Schema for the response body is not explicitly provided in the source for the list endpoint, but it would typically contain a list of order summaries.) #### Error Responses - **400** - Bad request (e.g., invalid parameters). - **401** - Authentication failed. - **429** - Request limit exceeded. ``` -------------------------------- ### Get Recent Trades Source: https://developers.tossinvest.com/docs/market-data Retrieves the most recent trade data for a given stock symbol. Supports filtering by the number of trades. ```APIDOC ## GET /api/v1/trades ### Description 당일 최근 체결 내역을 조회합니다. ### Method GET ### Endpoint /api/v1/trades ### Query Parameters - **symbol** (string) - Required - 종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL). 영문 대/소문자, 숫자, '.', '-' 만 허용한다. - **count** (integer) - Optional - 조회 건수 (최대 50). Default: 50. Min: 1, Max: 50. ### Request Example ```shell curl 'https://openapi.tossinvest.com/api/v1/trades?symbol=005930&count=50' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` ### Response #### Success Response (200) - **result** (array) - Array of trade objects. - **price** (string) - Trade price. - **volume** (string) - Trade volume. - **timestamp** (string) - Trade timestamp. - **currency** (string) - Currency of the trade. #### Response Example ```json { "result": [ { "price": "72000", "volume": "120", "timestamp": "2026-03-25T09:30:42.000+09:00", "currency": "KRW" } ] } ``` ``` -------------------------------- ### Get Recent Trades Source: https://developers.tossinvest.com/docs/market-data Retrieves the most recent trade history for a given stock symbol. Specify the number of trades to fetch, up to a maximum of 50. ```Shell curl 'https://openapi.tossinvest.com/api/v1/trades?symbol=005930&count=50' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` -------------------------------- ### Get Stock Data Source: https://developers.tossinvest.com/docs/stock-info Retrieves stock information for the specified symbols. Authentication is required using an access token obtained via OAuth 2.0 Client Credentials Grant. ```APIDOC ## GET /stocks ### Description Retrieves stock information for the specified symbols. Authentication is required using an access token obtained via OAuth 2.0 Client Credentials Grant. ### Method GET ### Endpoint /stocks ### Query Parameters - **symbols** (string) - Required - A comma-separated list of stock symbols (e.g., 005930,AAPL). ### Headers - **Authorization** (string) - Required - Bearer token obtained from `/oauth2/token`. - **accept** (string) - Optional - Specifies the desired response format, defaults to `application/json`. ### Response #### Success Response (200) - **field1** (type) - Description #### Response Example { "example": "response body" } ``` -------------------------------- ### Get Korean Market Operating Hours Source: https://developers.tossinvest.com/docs/market-info Retrieves trading hours for the Korean market (KRX+NXT) for three business days. Excludes special trading sessions. All times are in KST. ```curl curl 'https://openapi.tossinvest.com/api/v1/market-calendar/KR?date=2026-03-25' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` -------------------------------- ### Get Order Details Source: https://developers.tossinvest.com/docs/order-history Retrieves the detailed information for a specific order using its unique order ID. This endpoint supports fetching details for all order statuses, including filled, canceled, and rejected orders. ```APIDOC ## GET /api/v1/orders/{orderId} ### Description Retrieves the detailed information for a specific order using its unique order ID. This endpoint supports fetching details for all order statuses, including filled, canceled, and rejected orders. ### Method GET ### Endpoint /api/v1/orders/{orderId} ### Parameters #### Path Parameters - **orderId** (string) - Required - The unique identifier for the order. This is an opaque token issued by the server. #### Headers - **X-Tossinvest-Account** (integer, int64) - Required - The account sequence number to use for the API request. Use the `accountSeq` value from the `GET /api/v1/accounts` response. - **Authorization** (string) - Required - Bearer token for authentication. ### Request Example ```shell curl https://openapi.tossinvest.com/api/v1/orders/0d5QIHjmtksbsmM-hBRAgP-ExI8iodGm9fAR5txelPfnMM8XQ_swoJdwL5RpGWMo \ --header 'X-Tossinvest-Account: 1' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` ### Response #### Success Response (200) - **result** (object) - Contains the order details. - **orderId** (string) - The order identifier. - **symbol** (string) - The trading symbol. - **side** (string) - The order side (e.g., BUY, SELL). - **orderType** (string) - The type of order (e.g., LIMIT, MARKET). - **timeInForce** (string) - The duration the order is active (e.g., DAY, GTC). - **status** (string) - The current status of the order (e.g., FILLED, CANCELED, REJECTED). - **price** (string) - The order price. - **quantity** (string) - The total quantity ordered. - **orderAmount** (string or null) - The total amount for the order. - **currency** (string) - The currency of the order. - **orderedAt** (string) - The timestamp when the order was placed. - **canceledAt** (string or null) - The timestamp when the order was canceled. - **execution** (object) - Details about the order execution. - **filledQuantity** (string) - The quantity that has been filled. - **averageFilledPrice** (string) - The average price at which the order was filled. - **filledAmount** (string) - The total amount filled. - **commission** (string) - The commission charged for the order. - **tax** (string) - The tax applied to the order. - **filledAt** (string) - The timestamp when the order was last filled. - **settlementDate** (string) - The settlement date for the order. #### Response Example (200 OK) ```json { "result": { "orderId": "0d5QIHjmtksbsmM-hBRAgP-ExI8iodGm9fAR5txelPfnMM8XQ_swoJdwL5RpGWMo", "symbol": "005930", "side": "BUY", "orderType": "LIMIT", "timeInForce": "DAY", "status": "FILLED", "price": "70000", "quantity": "10", "orderAmount": null, "currency": "KRW", "orderedAt": "2026-03-28T09:30:00+09:00", "canceledAt": null, "execution": { "filledQuantity": "10", "averageFilledPrice": "70000", "filledAmount": "700000", "commission": "1400", "tax": "0", "filledAt": "2026-03-28T09:31:15+09:00", "settlementDate": "2026-03-30" } } } ``` #### Error Responses - **400** - Missing X-Tossinvest-Account header. - **401** - Authentication failed. - **404** - Order not found. - **429** - Request limit exceeded. - **500** - Temporary error during order retrieval. ``` -------------------------------- ### Get Domestic Market Operating Hours Source: https://developers.tossinvest.com/docs/market-info Retrieves the trading hours for the domestic market (KRX+NXT). It excludes special trading sessions and returns information for the previous, current, and next business days in KST. ```APIDOC ## GET /api/v1/market-calendar/KR ### Description Queries the trading hours for the domestic market (KRX+NXT), excluding special trading sessions. Returns information for the previous, current, and next business days, all times in KST. ### Method GET ### Endpoint /api/v1/market-calendar/KR ### Query Parameters #### Query Parameters - **date** (string) - Required - The date for which to retrieve market information (YYYY-MM-DD). ### Request Example ```shell curl 'https://openapi.tossinvest.com/api/v1/market-calendar/KR?date=2026-03-25' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' ``` ### Response #### Success Response (200) - **result** (object) - Contains market operating information for today, previous business day, and next business day. - **today** (object) - Market information for the current day. - **date** (string) - The date of the information. - **integrated** (object) - Integrated market operating hours. - **preMarket** (object) - Pre-market trading hours. - **startTime** (string) - Start time of pre-market. - **singlePriceAuctionStartTime** (string) - Start time of single price auction in pre-market. - **endTime** (string) - End time of pre-market. - **regularMarket** (object) - Regular market trading hours. - **startTime** (string) - Start time of regular market. - **singlePriceAuctionStartTime** (string) - Start time of single price auction in regular market. - **endTime** (string) - End time of regular market. - **afterMarket** (object) - After-market trading hours. - **startTime** (string) - Start time of after-market. - **singlePriceAuctionEndTime** (string) - End time of single price auction in after-market. - **endTime** (string) - End time of after-market. - **previousBusinessDay** (object) - Market information for the previous business day (structure similar to 'today'). - **nextBusinessDay** (object) - Market information for the next business day (structure similar to 'today'). #### Response Example ```json { "result": { "today": { "date": "2026-03-25", "integrated": { "preMarket": { "startTime": "2026-03-25T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-25T08:50:00+09:00", "endTime": "2026-03-25T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-25T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-25T15:20:00+09:00", "endTime": "2026-03-25T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-25T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-25T15:40:00+09:00", "endTime": "2026-03-25T20:00:00+09:00" } } }, "previousBusinessDay": { "date": "2026-03-24", "integrated": { "preMarket": { "startTime": "2026-03-24T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-24T08:50:00+09:00", "endTime": "2026-03-24T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-24T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-24T15:20:00+09:00", "endTime": "2026-03-24T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-24T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-24T15:40:00+09:00", "endTime": "2026-03-24T20:00:00+09:00" } } }, "nextBusinessDay": { "date": "2026-03-26", "integrated": { "preMarket": { "startTime": "2026-03-26T08:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-26T08:50:00+09:00", "endTime": "2026-03-26T09:00:00+09:00" }, "regularMarket": { "startTime": "2026-03-26T09:00:00+09:00", "singlePriceAuctionStartTime": "2026-03-26T15:20:00+09:00", "endTime": "2026-03-26T15:30:00+09:00" }, "afterMarket": { "startTime": "2026-03-26T15:30:00+09:00", "singlePriceAuctionEndTime": "2026-03-26T15:40:00+09:00", "endTime": "2026-03-26T20:00:00+09:00" } } } } } ``` #### Error Responses - **400** - Bad Request - **429** - Rate limit exceeded - **500** - Internal Server Error ``` -------------------------------- ### OAuth 2.0 Client Credentials Grant Request Source: https://developers.tossinvest.com/docs/stock-info This snippet shows how to obtain an access token using the OAuth 2.0 Client Credentials Grant. The access token should be included in the Authorization header of subsequent requests. ```curl curl -X POST \ 'https://api.toss.im/oauth2/token' \ -H 'Content-Type: application/json' \ -d '{ "grant_type": "client_credentials", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }' ``` -------------------------------- ### Modify Order Source: https://developers.tossinvest.com/docs/order Allows modification of price and quantity for existing orders. Supports KR stocks with quantity and price modifications, and US stocks with price modifications only. ```APIDOC ## POST /api/v1/orders/{orderId}/modify ### Description Modifies the price or quantity of an existing order. Supports different modification rules for KR and US stocks. ### Method POST ### Endpoint /api/v1/orders/{orderId}/modify ### Parameters #### Path Parameters - **orderId** (string) - Required - The server-issued opaque token representing the order identifier. #### Headers - **X-Tossinvest-Account** (integer, int64) - Required - The accountSeq for the API request. Use the value from `GET /api/v1/accounts`. #### Request Body - **orderType** (string, enum) - Required - The type of order to modify. Values: `LIMIT`, `MARKET`. - **confirmHighValueOrder** (boolean) - Optional - Defaults to `false`. A flag to prevent erroneous orders. If `true` and the order is over 100 million KRW, it returns a `400 confirm-high-value-required` error. Orders over 3 billion KRW will return a `422 max-order-amount-exceeded` error regardless of this flag. - **price** (string) - Optional - The price to change to. Only used when `orderType` is `LIMIT`. For KR stocks, it must be an integer and adhere to tick increments; otherwise, a `400 invalid-request` error is returned. For US stocks, it is in dollar units with specific decimal precision rules; otherwise, a `400 invalid-request` error is returned. - **quantity** (string) - Optional - The quantity to change to. For KR stocks, it is required and must be a positive integer; otherwise, a `400 invalid-request` error is returned. For US stocks, this field cannot be provided and will result in a `400 us-modify-quantity-not-supported` error. ### Request Example ```json { "orderType": "LIMIT", "quantity": "15", "price": "71000" } ``` ### Response #### Success Response (200) - **orderId** (string) - The ID of the modified order. #### Response Example ```json { "result": { "orderId": "5nfzdqmzfnAw3LFXWHPRy0UNi7y_WZlphJh5hRIsi25-NIfm_GtQgXima5QD2hUz" } } ``` #### Error Responses - **400** - Bad Request - **401** - Authentication Failure - **404** - Order or Account Not Found - **409** - Order in Non-Modifiable State - **422** - Business Rule Violation - **429** - Request Limit Exceeded - **500** - Temporary Error During Order Processing ``` -------------------------------- ### Successful Order Modification Response Source: https://developers.tossinvest.com/docs/order This JSON object indicates a successful order modification, returning the order ID of the modified order. ```JSON { "result": { "orderId": "5nfzdqmzfnAw3LFXWHPRy0UNi7y_WZlphJh5hRIsi25-NIfm_GtQgXima5QD2hUz" } } ``` -------------------------------- ### Order Modification Request Body Source: https://developers.tossinvest.com/docs/order This JSON payload represents the body of a request to modify an order. It includes fields for order type, quantity, and price, with specific constraints for KR and US stocks. ```JSON { "orderType": "LIMIT", "quantity": "15", "price": "71000" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.