# Get Product Variant

Returns a single Variant resource nested within the specified Product, with the published fields selected via OData query options.
## Authentication
Requires a valid API key in the `X-API-KEY` header.
## Headers
### Accept-Language
Indicates the preferred natural language and locale for the localized content:
- **culture-code** (e.g. `es`, `en-us`) — returns content localized in the specified culture.
- **null / not set** — returns content localized in the default culture.
- **`*`** — currently disabled.

Multiple culture codes or q-factor weighting are not supported.
## OData Query Support
The endpoint supports a subset of OData v4.01 URI conventions.
The full list of available properties can be obtained from `GET /Variants/$metadata`.
### `$select`
Comma-separated list of Variant properties (implicit or custom) to include in the result.
Selection of properties inside embedded resources/collections is not supported.
- Example: `frmt_ref`
- Example: `frmt_ref,frmt_tags`

### `$expand`
Comma-separated list of embedded collections to include in the result. By default, embedded collections are not included.
Only embedded collections are supported (not embedded resources).
## Response
**200 OK** — Returns an `EntityRepresentation` with the requested Variant.
## Error Responses
- **400 Bad Request** — Invalid OData expression or query parameter.
- **401 Unauthorized** — Missing or invalid API key. Returned by the API gateway as
`{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }`.
- **404 Not Found** — Product, Variant or tenant not found.
- **500 Internal Server Error** — Unexpected technical error.

## Example
**Request:**

```http
GET /Products(987)/Variants(12345)?$select=frmt_ref HTTP/1.1
X-API-KEY: your-api-key-here
Accept-Language: es
```
**Response:**

```http
HTTP/1.1 200 OK
Content-Type: application/json
```

Endpoint: GET /Products({productIdentifier})/Variants({variantIdentifier})
Version: 2.0.0

## Path parameters:

  - `productIdentifier` (integer, required)
    Product resource identifier (path parameter)

  - `variantIdentifier` (integer, required)
    Variant resource identifier (path parameter)

## Query parameters:

  - `$select` (string)

  - `$expand` (string)

## Header parameters:

  - `X-API-KEY` (string)
    Tenant's API key (required)

  - `Accept-Language` (string)
    Preferred localization culture (e.g. `es`, `en-us`)

## Response 200 fields (application/json):

  - `@readLink` (string)

  - `@editLink` (string)

  - `@etag` (string)

  - `@navigationLinks` (array)

  - `@navigationLinks.uri` (string)

  - `@associationLinks` (array)

  - `@associationLinks.uri` (string)

  - `@context` (string)

  - `value` (any)

## Response 401 fields (application/json):

  - `message` (string)

  - `request_id` (string)

## Response 500 fields (application/json):

  - `error` (string)

  - `details` (any)

