# tys.products.garments.list()

> Garment versions of a product, newest first (has_more is always false).

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

*Method* · `tryyoursize`

Garment versions of a product, newest first (`has_more` is always false).

```python
def list(product: str) -> ListPage
```

## Parameters

- **`product`** (`str`, required): The product's TryYourSize ID or your SKU (URL-encoded for you).

## Returns

`ListPage`: Garment versions, newest first (a single page). A dict with `data`, `has_more`, `next_cursor`; `next_page()` and `auto_paging_iter()` walk the rest. See [ListPage](https://docs.tryyoursize.com/reference/python/list-page.md).

## Example

**Python**

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

**Node.js**

```ts
const { data } = await 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)
