---
title: "GET /api/order-lines/{lineId}"
method: GET
path: "/api/order-lines/{lineId}"
tags: ["Order Lines"]
---

# GET /api/order-lines/{lineId}

`GET /api/order-lines/{lineId}`

Fetch a single order line by its id. Returns 404 when the line or its parent order is not accessible to the current company.

## Path parameters

- `lineId` string, required

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `orderId` string, required
    - `orderLineNumber` string, nullable, required
    - `lineNo` integer, nullable, required
    - `styleId` string, required
    - `quantity` number, required
    - `unit` string, required
    - `secondaryQuantity` number, nullable, required
    - `secondaryUnit` string, nullable, required
    - `createdAt` string, nullable, required
    - `createdByUserId` string, nullable, required
    - `createdByUserName` string, nullable, required
    - `createdByCompanyId` string, nullable, required
    - `createdByCompanyName` string, nullable, required
    - `createdByImpersonateId` string, nullable, required
    - `createdByImpersonateName` string, nullable, required
    - `createdByApiKeyId` string, nullable, required
    - `createdByApiKeyLabel` string, nullable, required
    - `updatedAt` string, nullable, required
    - `updatedByUserId` string, nullable, required
    - `updatedByUserName` string, nullable, required
    - `updatedByCompanyId` string, nullable, required
    - `updatedByCompanyName` string, nullable, required
    - `updatedByImpersonateId` string, nullable, required
    - `updatedByImpersonateName` string, nullable, required
    - `updatedByApiKeyId` string, nullable, required
    - `updatedByApiKeyLabel` string, nullable, required
    - `tracingReflectionOrderId` string, nullable
    - `tracingOrderRequestedAt` string, nullable
    - `styleProperties` object
      - `seasons` object[], required
        - `id` string, required
        - `name` string, required
      - `brands` object[], required
        - `id` string, required
        - `name` string, required
    - `order` object, nullable, required
      - `id` string, required
      - `orderNumber` string, required
      - `orderType` string, nullable, required
      - `buyerCompanyId` string, nullable, required
      - `supplierCompanyId` string, nullable, required
      - `orderDate` string, nullable, required
      - `updatedAt` string, nullable, required
      - `updatedByUserName` string, nullable, required
      - `tracingStatus` string, nullable, required
      - `tags` string[], required
      - `source` string, nullable, required
      - `buyerFacilityProcess` string, nullable, required
      - `supplierFacilityProcess` string, nullable, required
      - `isArchived` boolean, required

## Other responses

- `401` — Default Response
- `404` — Default Response

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 26 breaking, 39 info
  - the response property `data/createdAt` became nullable for the status `200`
  - the response property `data/createdByApiKeyId` became nullable for the status `200`
  - the response property `data/createdByApiKeyLabel` became nullable for the status `200`
  - the response property `data/createdByCompanyId` became nullable for the status `200`
  - …61 more

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/order-lines/:lineId/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
