---
title: "ProductOption"
description: "The product option, such as color, size, and material."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/products/objects/product-option'
  md: 'https://developer.shopline.com/docs/storefront-api/products/objects/product-option.md'
---
# ProductOption

The product option, such as color, size, and material. 

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

## Fields

* `valuesImages`

  [[KeyValue]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/key-value.md)

  The mapping relationship between the option value and the corresponding image URL.

* `name`

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

  The name of the option.

* `id`

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

  The unique identifier for the option.

* `values`

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

  A list of option values.

* `optionValues`

  [[ProductOptionValue]!](https://developer.shopline.com/docs/storefront-api/products/objects/product-option-value.md)

  A list of product option values.

* `hideSingleValueOption`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Indicate whether to hide the single-value option.
  
  - `true`：Hide
  - `false`：Show

## Field from

* [Product](https://developer.shopline.com/docs/storefront-api/products/objects/product.md).options

