# tys.products.garments.list()

> Garment versions, newest first (a single page: has_more is always false).

Source: https://docs.tryyoursize.com/reference/node/products-garments-list/

*Method* · `@tryyoursize/node`

Garment versions, newest first (a single page: has_more is always false).

```ts
list(idOrSku: string, options?: RequestOptions): PagePromise<GarmentVersionPage, GarmentVersion>
```

## Parameters

- **`idOrSku`** (`string`, required): The product's TryYourSize ID or your SKU (URL-encoded for you, so `TEE/01` works).
- **`options`** (`RequestOptions`, optional)

## Returns

`PagePromise<GarmentVersionPage, GarmentVersion>`: The product's garment versions, newest first (a single page). Await it for one page (`{ data, has_more, next_cursor }`), or `for await` over every item. See [PagePromise](https://docs.tryyoursize.com/reference/node/page-promise.md).

## Example

**Node.js**

```ts
const { data } = await tys.products.garments.list("TEE-001"); // newest first
```

**Python**

```python
versions = tys.products.garments.list("TEE-001")  # newest first
```

**cURL**

```bash
curl https://api.tryyoursize.com/v1/products/TEE-001/garments \
  -H "Authorization: Bearer $TRYYOURSIZE_SECRET_KEY" \
  -H "TYS-Version: 2026-10-25"
```

## See also

- [products.garments.list (HTTP API)](https://docs.tryyoursize.com/api/reference/operations/listcataloggarments.md)
