# tys.garments.retrieve()

> tys.garments.retrieve()

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

*Method* · `@tryyoursize/node`

```ts
retrieve(id: string, options?: RequestOptions): Promise<GarmentVersion>
```

## Parameters

- **`id`** (`string`, required): The garment version ID.
- **`options`** (`RequestOptions`, optional)

## Returns

`Promise<GarmentVersion>`: The garment version.

## Example

**Node.js**

```ts
const version = await tys.garments.retrieve(garmentId);
```

**Python**

```python
version = tys.garments.retrieve(garment_id)
```

**cURL**

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

## See also

- [garments.retrieve (HTTP API)](https://docs.tryyoursize.com/api/reference/operations/getcataloggarment.md)
