---
title: "SelectedOption"
description: "The selected option of a product variant."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/selected-option'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/selected-option.md'
---
# SelectedOption

The selected option of a product variant.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `name`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The name of the option.

* `value`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The option value.

## Field from

* [CartLine](https://developer.shopline.com/docs/storefront-api/cart/objects/cart-line.md).selectedOptions

