---
title: "Get list of family variants"
method: GET
path: "/api/rest/v1/families/{family_code}/variants"
tags: ["Family variant"]
---

# Get list of family variants

`GET /api/rest/v1/families/{family_code}/variants`

This endpoint allows you to get a list of family variants. Family variants are paginated and sorted by code.

## Path parameters

- `family_code` string, required

## Query parameters

- `page` integer
- `limit` integer
- `with_count` boolean

## Response `200`

Return family variants paginated

- object
  - `_links` object
    - `self` object
      - `href` string — URI of the current page of resources
    - `first` object
      - `href` string — URI of the first page of resources
    - `previous` object
      - `href` string — URI of the previous page of resources
    - `next` object
      - `href` string — URI of the next page of resources
  - `current_page` integer — Current page number
  - `_embedded` object
    - `items` object[]
      - `_links` object
        - `self` object
          - `href` string — URI of the resource
      - `code` string, required — Family variant code
      - `common_attributes` string[] — Codes of attributes that are common to all levels of the family variant
      - `variant_attribute_sets` object[], required — Attributes distribution according to the enrichment level
        - `level` integer, required — Enrichment level
        - `axes` string[], required — Codes of attributes used as variant axes
        - `attributes` string[] — Codes of attributes bind to this enrichment level
      - `labels` object — Family variant labels for each locale
        - `localeCode` string — Family variant label for the locale `localeCode`

## Other responses

- `401` — Authentication required
- `403` — Access forbidden
- `406` — Not Acceptable

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/revisions/d8bda9b93b59/schema)
