---
updatedAt: 2026-05-27T16:57:55.000Z
agentTools:
  projectIndex: https://developer.drivewealth.com/apis/llms.txt
---

# Retrieve Order

Retrieves an Order details by orderID.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Core APIs",
    "version": "2026-11-07",
    "contact": {
      "email": "producteng@drivewealth.tech"
    }
  },
  "servers": [
    {
      "url": "https://bo-api.drivewealth.io/back-office",
      "description": "Sandbox (No Real World Financial/Trading Impact)"
    },
    {
      "url": "https://bo-api.drivewealth.net/back-office",
      "description": "Production"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "headers": [
      {
        "key": "dw-client-app-key",
        "value": "{{yourAppKey}}"
      }
    ]
  },
  "tags": [
    {
      "name": "Orders"
    }
  ],
  "paths": {
    "/orders/{orderID}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orderID",
            "schema": {
              "$ref": "#/components/schemas/orderID"
            },
            "required": true
          }
        ],
        "summary": "Retrieve Order",
        "description": "Retrieves an Order details by orderID.",
        "responses": {
          "200": {
            "description": "Fetching Order status was successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderStatusResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "orderID": {
        "type": "string",
        "example": "IC.123e4567-e89b-12d3-a456-000000000049",
        "description": "A unique DriveWealth order identifier created when an order is placed."
      },
      "orderNo": {
        "type": "string",
        "example": "ZZZZ000025",
        "description": "A unique, human-readable DriveWealth order number."
      },
      "orderTypes": {
        "type": "string",
        "example": "MARKET",
        "description": "The type of the Order.",
        "enum": [
          "MARKET",
          "LIMIT",
          "STOP",
          "STOP_LIMIT",
          "MARKET_IF_TOUCHED"
        ],
        "x-enumDescriptions": {
          "MARKET": "Execute immediately at the best available price.",
          "LIMIT": "Execute only at a specified price or better.",
          "STOP": "Becomes a market order once a specified stop price is reached.",
          "STOP_LIMIT": "Becomes a limit order once a specified stop price is reached.",
          "MARKET_IF_TOUCHED": "Becomes a market order once a specified trigger price is touched."
        }
      },
      "instrumentSymbol": {
        "type": "string",
        "nullable": true,
        "example": "MS",
        "description": "The ticker symbol of the Instrument. Debt Instruments and Global Mutual Funds do not have symbols and are referred to buy their `instrumentID` or `ISIN`."
      },
      "instrumentISIN": {
        "description": "An `International Securities Identification Number` (ISIN) uniquely identifies a security. Its structure is defined in ISO 6166. ISINs are commonly used when an Instrument does not have a `symbol`, such as Debt Instruments and Global Mutual Funds.",
        "type": "string",
        "minLength": 12,
        "maxLength": 14,
        "example": "US023135BX34"
      },
      "instrumentCUSIP": {
        "description": "CUSIP stands for `Committee on Uniform Securities Identification Procedures`.\nA CUSIP number identifies most financial instruments, including: stocks of all registered U.S. and Canadian companies, commercial paper, and U.S. government and municipal bonds.\nThe CUSIP system facilitates the clearance and settlement process of securities.\nCUSIP numbers consist of nine characters (including letters and numbers) that uniquely identify a company or issuer and the type of financial instrument.\nA similar system is used to identify foreign securities (`CUSIP International Numbering System or CINS`).\nCINS employs the same nine character identifier as CUSIP, but also contains a letter in the first position to signify the issuer's country or geographic region.\n",
        "type": "string",
        "minLength": 9,
        "maxLength": 9,
        "example": "E09876AA7"
      },
      "instrumentType": {
        "type": "string",
        "example": "EQUITY",
        "description": "The classification of the instrument.",
        "enum": [
          "EQUITY",
          "ALTERNATIVE_ASSET",
          "MUTUAL_FUND",
          "DEBT",
          "OPTION",
          "CRYPTO"
        ],
        "x-enumDescriptions": {
          "EQUITY": "A stock or share of a company.",
          "ALTERNATIVE_ASSET": "A non-traditional asset, such as private equity or a hedge fund interest.",
          "MUTUAL_FUND": "A pooled investment fund managed by professionals.",
          "DEBT": "A fixed-income security, such as a bond.",
          "OPTION": "A financial derivative giving the right to buy or sell an underlying asset.",
          "CRYPTO": "A cryptocurrency."
        }
      },
      "instrumentID": {
        "type": "string",
        "format": "uuid",
        "example": "123e4567-e89b-12d3-a456-000000000006",
        "description": "A unique ID created by DriveWealth to identify a specific instrument."
      },
      "side": {
        "type": "string",
        "example": "BUY",
        "description": "Whether an order is to purchase or sell. Generally, the value should be set to `BUY` or `SELL`. For Options orders, `BUY_OPEN`, `BUY_CLOSE`, `SELL_OPEN`, `SELL_CLOSE` should be used.",
        "enum": [
          "BUY",
          "SELL",
          "BUY_OPEN",
          "BUY_CLOSE",
          "SELL_OPEN",
          "SELL_CLOSE"
        ],
        "x-enumDescriptions": {
          "BUY": "Purchase the instrument.",
          "SELL": "Sell the instrument.",
          "BUY_OPEN": "Open a new long options position.",
          "BUY_CLOSE": "Close an existing short options position by buying.",
          "SELL_OPEN": "Open a new short options position.",
          "SELL_CLOSE": "Close an existing long options position by selling."
        }
      },
      "executionInstructions": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "AON"
          ],
          "example": "AON",
          "description": "An execution instruction for an order. AON instructions are currently only accepted for Fixed Income orders",
          "x-enumDescriptions": {
            "AON": "All-or-none — the order must be filled in its entirety or not at all."
          }
        },
        "description": "A list of execution instructions for an order. Currently only supported for Fixed Income orders."
      },
      "currency": {
        "type": "string",
        "example": "USD",
        "description": "The name of the currency in abbreviation form.",
        "enum": [
          "USD"
        ],
        "x-enumDescriptions": {
          "USD": "U.S. Dollar."
        }
      },
      "orderAveragePrice": {
        "type": "number",
        "example": 1038.81,
        "description": "The average price of the security being transacted in the order."
      },
      "orderQuantity": {
        "type": "number",
        "example": 0.7219,
        "description": "The amount of the instrument in shares."
      },
      "orderCumulativeQuantity": {
        "type": "number",
        "example": 0.7219,
        "description": "The amount of shares currently being transacted; larger orders may execute in chunks."
      },
      "SalesCredit": {
        "type": "object",
        "description": "If set, the unit price will be marked up or marked down based on the prescribed amount. Only applicable to Orders for Debt Instruments.",
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "amount": {
            "type": "integer",
            "example": 14,
            "description": "The sales credit amount in cents."
          }
        }
      },
      "OrderStatusResponse": {
        "type": "object",
        "description": "Order details for a fixed income asset trade",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/orderID"
          },
          "orderNo": {
            "$ref": "#/components/schemas/orderNo"
          },
          "type": {
            "$ref": "#/components/schemas/orderTypes"
          },
          "side": {
            "$ref": "#/components/schemas/side"
          },
          "status": {
            "$ref": "#/components/schemas/localOrderStatus"
          },
          "instrumentID": {
            "$ref": "#/components/schemas/instrumentID"
          },
          "ISIN": {
            "$ref": "#/components/schemas/instrumentISIN"
          },
          "CUSIP": {
            "$ref": "#/components/schemas/instrumentCUSIP"
          },
          "symbol": {
            "$ref": "#/components/schemas/instrumentSymbol"
          },
          "averagePrice": {
            "$ref": "#/components/schemas/orderAveragePrice"
          },
          "currency": {
            "$ref": "#/components/schemas/currency"
          },
          "totalOrderAmount": {
            "type": "number",
            "format": "double",
            "example": 800,
            "description": "Total amount paid for the order."
          },
          "cumulativeQuantity": {
            "$ref": "#/components/schemas/orderCumulativeQuantity"
          },
          "quantity": {
            "$ref": "#/components/schemas/orderQuantity"
          },
          "fees": {
            "type": "number",
            "format": "double",
            "example": 0.01,
            "description": "Cost of the order."
          },
          "ptpWithholdingFee": {
            "type": "number",
            "format": "double",
            "example": 0.01,
            "description": "The publicly traded partnership (PTP) withholding fee for the order."
          },
          "createdBy": {
            "type": "string",
            "example": "123e4567-e89b-12d3-a456-000000000004",
            "description": "userID of the individual creating the order."
          },
          "userID": {
            "type": "string",
            "example": "123e4567-e89b-12d3-a456-000000000004",
            "description": "![sensitive](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDg1IDIwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtU0VOU0lUSVZFIiB4MT0iMCIgeTE9IjAiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0NTMwOSIvPjxzdG9wI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FPC90ZXh0Pjwvc3ZnPg==)\nuserID of the account holder the order relates to.",
            "x-sensitive": true
          },
          "accountID": {
            "type": "string",
            "example": "123e4567-e89b-12d3-a456-000000000004.1234567890187",
            "description": "![sensitive](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDg1IDIwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtU0VOU0lUSVZFIiB4MT0iMCIgeTE9IjAiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0NTMwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyNDAwZSIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0iZ2xvdy1TRU5TSVRJVkUiIHg9Ii02MCUiIHk9Ii02MCUiIHdpZHRoPSIyMjAlIiBoZWlnaHQ9IjIyMCUiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIuMiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIxIiB5PSIxIiB3aWR0aD0iODMiIGhlaWdodD0iMTgiIHJ4PSI5IiBmaWxsPSIjOTI0MDBlIiBmaWx0ZXI9InVybCgjZ2xvdy1TRU5TSVRJVkUpIiBvcGFjaXR5PSIwLjU1Ii8+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI4NCIgaGVpZ2h0PSIxOSIgcng9IjEwIiBmaWxsPSJ1cmwoI2dyYWQtU0VOU0lUSVZFKSIgc3Ryb2tlPSIjOTI0MDBlIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNMTAgNC44TDE0IDYuMlYxMEMxNCAxMi43IDEyLjMgMTQuNCAxMCAxNS40QzcuNyAxNC40IDYgMTIuNyA2IDEwVjYuMloiIGZpbGw9IiNmZmZmZmYiIGZpbHRlcj0idXJsKCNnbG93LVNFTlNJVElWRSkiIG9wYWNpdHk9IjAuNSIvPjxwYXRoIGQ9Ik0xMCA0LjhMMTQgNi4yVjEwQzE0IDEyLjcgMTIuMyAxNC40IDEwIDE1LjRDNy43IDE0LjQgNiAxMi43IDYgMTBWNi4yWiIgZmlsbD0iI2ZmZmZmZiIvPjx0ZXh0IHg9IjE4IiB5PSIxMy41IiBmb250LWZhbWlseT0iSGVsdmV0aWNhLCBBcmlhbCwgc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMCIgZm9udC13ZWlnaHQ9IjcwMCIgbGV0dGVyLXNwYWNpbmc9IjAuNiIgZmlsbD0iI2ZmZmZmZiI+U0VOU0lUSVZFPC90ZXh0Pjwvc3ZnPg==)\naccountID for the account the order relates to.",
            "x-sensitive": true
          },
          "accountNo": {
            "type": "string",
            "example": "DDDD000003",
            "description": "![sensitive](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDg1IDIwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImdyYWQtU0VOU0lUSVZFIiB4MT0iMCIgeTE9IjAiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0NTMwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyNDAwZSIvPjwvbGluZWFyR3JhZGllbnQ+PGZpbHRlciBpZD0iZ2xvdy1TRU5TSVRJVkUiIHg9Ii02MCUiIHk9Ii02MCUiIHdpZHRoPSIyMjAlIiBoZWlnaHQ9IjIyMCUiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIuMiIvPjwvZmlsdGVyPjwvZGVmcz48cmVjdCB4PSIxIiB5PSIxIiB3aWR0aD0iODMiIGhlaWdodD0iMTgiIHJ4PSI5IiBmaWxsPSIjOTI0MDBlIiBmaWx0ZXI9InVybCgjZ2xvdy1TRU5TSVRJVkUpIiBvcGFjaXR5PSIwLjU1Ii8+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI4NCIgaGVpZ2h0PSIxOSIgcng9IjEwIiBmaWxsPSJ1cmwoI2dyYWQtU0VOU0lUSVZFKSIgc3Ryb2tlPSIjOTI0MDBlIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNMTAgNC44TDE0IDYuMlYxMEMxNCAxMi43IDEyLjMgMTQuNCAxMCAxNS40QzcuNyAxNC40IDYgMTIuNyA2IDEwVjYuMloiIGZpbGw9IiNmZmZmZmYiIGZpbHRlcj0idXJsKCNnbG93LVNFTlNJVElWRSkiIG9wYWNpdHk9IjAuNSIvPjxwYXRoIGQ9Ik0xMCA0LjhMMTQgNi4yVjEwQzE0IDEyLjcgMTIuMyAxNC40IDEwIDE1LjRDNy43IDE0LjQgNiAxMi43IDYgMTBWNi4yWiIgZmlsbD0iI2ZmZmZmZiIvPjx0ZXh0IHg9IjE4IiB5PSIxMy41IiBmb250LWZhbWlseT0iSGVsdmV0aWNhLCBBcmlhbCwgc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMCIgZm9udC13ZWlnaHQ9IjcwMCIgbGV0dGVyLXNwYWNpbmc9IjAuNiIgZmlsbD0iI2ZmZmZmZiI+U0VOU0lUSVZFPC90ZXh0Pjwvc3ZnPg==)\naccountNo for the account the order related to.",
            "x-sensitive": true
          },
          "created": {
            "type": "string",
            "example": "2019-02-14T18:56:07.411Z",
            "description": "The time at which the order was created."
          },
          "statusMessage": {
            "type": "object",
            "description": "If the Order was unsuccessful, this object will be present with additional details regarding why.",
            "properties": {
              "errorCode": {
                "type": "object",
                "example": null,
                "description": "A DriveWealth error code."
              },
              "message": {
                "type": "string",
                "example": null,
                "description": "Description of the error code."
              },
              "reason": {
                "type": "string",
                "example": null,
                "description": "A longer reason for the error."
              }
            }
          },
          "amountCash": {
            "$ref": "#/components/schemas/amountCash"
          },
          "OrderExpires": {
            "type": "string",
            "example": null,
            "description": "The date of expiration for a good-til-canceled order, in “YYYY-MM-DD” format. The order will be canceled if not executed by the market close on this date. If not set, a good-til-canceled Stop and MIT order will be assumed to expire 90 days after creation. If not set, a limit order will be considered GTD and will cancel at the end of the trading day."
          },
          "salesCredit": {
            "$ref": "#/components/schemas/SalesCredit"
          },
          "instrumentType": {
            "$ref": "#/components/schemas/instrumentType"
          },
          "dccs": {
            "$ref": "#/components/schemas/dccs"
          },
          "openQuantity": {
            "$ref": "#/components/schemas/openQuantity"
          },
          "availableForTradingQuantity": {
            "$ref": "#/components/schemas/availableForTradingQuantity"
          },
          "travelRuleBankAccountID": {
            "type": "string",
            "example": "bank_123e4567-e89b-12d3-a456-00000000012e",
            "description": "Displays travel rule bank account ID which set while creating order"
          },
          "clientOrderTransactionTime": {
            "$ref": "#/components/schemas/clientOrderTransactionTime"
          },
          "clientOrderID": {
            "$ref": "#/components/schemas/clientOrderID"
          },
          "executionInstructions": {
            "$ref": "#/components/schemas/executionInstructions"
          }
        }
      },
      "openQuantity": {
        "type": "number",
        "example": 1,
        "description": "The number of units currently represented by the position in the Account."
      },
      "availableForTradingQuantity": {
        "type": "number",
        "example": 1,
        "description": "The number of units that can currently be traded by the Account holder."
      },
      "amountCash": {
        "type": "number",
        "format": "double",
        "example": null,
        "description": "The USD-denominated amount to purchase or sell."
      },
      "localOrderStatus": {
        "type": "string",
        "example": "FILLED",
        "description": "The current status of the order.",
        "enum": [
          "NEW",
          "FILLED",
          "PARTIAL_FILL",
          "REJECTED",
          "CANCELED",
          "PENDING_CANCEL"
        ],
        "x-enumDescriptions": {
          "NEW": "The order has been received but not yet processed.",
          "FILLED": "The order has been completely filled.",
          "PARTIAL_FILL": "The order has been partially filled.",
          "REJECTED": "The order was rejected.",
          "CANCELED": "The order has been canceled.",
          "PENDING_CANCEL": "A cancel request has been submitted and is awaiting confirmation."
        }
      },
      "dccs": {
        "type": "boolean",
        "example": true,
        "description": "True, when the Mutual Fund HSA is classified as Defined Contribution Clearing and Settlement (DCC&S) order."
      },
      "clientOrderTransactionTime": {
        "type": "string",
        "example": "2024-07-30T22:13:18.000Z",
        "description": "The date with a valid timestamp of when a partner received the order from the customer."
      },
      "clientOrderID": {
        "type": "string",
        "example": "5a1762d5-4562",
        "description": "A unique identifier that represents the order, as defined by the partner. This detail will be reported to the CAT system for US brokers to more easily reconcile reported information."
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```

# Sibling pages

* [List Account resting Orders](https://developer.drivewealth.com/apis/reference/get_accounts-accountid-summary-orders.md)
* [List Account historical Orders](https://developer.drivewealth.com/apis/reference/get_accounts-accountid-reports-order-history.md)
* [Create Order](https://developer.drivewealth.com/apis/reference/post_orders.md)
* [Update Order](https://developer.drivewealth.com/apis/reference/patch_orders-orderid.md)
* [Retrieve Order by Order Number](https://developer.drivewealth.com/apis/reference/get_orders-byorderno-orderno.md)