# Retrieve By Id Orders Get Orders By Id Endpoint: GET /rest/2.0/ORDERS/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (integer, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.AccountId` (integer) Account - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.AmendmentType` (string) Amendment Type - `retrieveResponse.Id` (string) Id - `retrieveResponse.ErrorMessage` (string) Error Message - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.Notes` (string) Notes - `retrieveResponse.OrderStatus` (integer) Order Status - `retrieveResponse.OrderType` (string) Order Type - `retrieveResponse.ParentOrderId` (integer) Original Order - `retrieveResponse.ExternalKey` (string) External Key ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error