---
title: "Query Return Line Items"
method: GET
path: "/v2/returns/{returnId}/lineitems"
tags: ["return"]
---

# Query Return Line Items

`GET /v2/returns/{returnId}/lineitems`

Query all line items for a specific return

## Path parameters

- `returnId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `200`

The requested line items.

- JTLWawiRestContractsModelsV1ReturnReturnLineItem[]
  - `id` string, uuid
  - `returnId` string, uuid
  - `stateId` string, uuid
  - `itemId` string, uuid
  - `name` string — Name of the position.
  - `sKU` string — SKU of the line item.
  - `quantity` number — The quantity of the line item.
  - `returnReasonId` string, uuid
  - `returnReasonComment` string — The comment corresponding to the return line item reason.
  - `conditionId` string, uuid
  - `conditionComment` string — The comment corresponding to the return line item condition.
  - `credit` boolean — Indicates whether this return line item should be credited. If omitted on creation, defaults to false.
  - `salesOrderId` string, uuid
  - `salesOrderLineItemId` string, uuid
  - `deliveryNoteLineItemId` string, uuid

## Other responses

- `401`
- `402` — No licence available or the app has not been authorised by JTL.
- `404` — No fields could be found.

---

[API](https://skmtc.dev/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.dev/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
