---
title: "Provide a single resource - Variant"
method: GET
path: "/variants/{id}"
tags: ["Document"]
---

# Provide a single resource - Variant

`GET /variants/{id}`

Retrieves a Variant resource.

## Path parameters

- `id` string, required

## Headers

- `X-Quable-Locale` string

## Response `200`

Variant resource

- VariantVariantOutputVariantOutput
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `document` DocumentDocumentOutputVariantOutput
    - `documentType` string, iri-reference
    - `attributeSet` string, iri-reference, nullable
    - `classifications` ClassificationClassificationOutputVariantOutput[]
      - `id` string — This is the unique identifier of the resource
      - `legacyId` integer
    - `id` string — This is the unique identifier of the resource
    - `legacyId` integer
  - `active` boolean
  - `attributes` string[]
  - `sequence` integer, nullable
  - `assetLinks` string[]
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `id` string — This is the unique identifier of the resource
  - `legacyId` integer

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/revisions/1641096abb34/schema)
