---
title: "ProductOptionValue"
description: >
  The names of product options, such as "Red," "Blue," and "Green" for a "Color" option.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-option-value'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-option-value.md'
---
# ProductOptionValue

The names of product options, such as "Red," "Blue," and "Green" for a "Color" option.

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

## Type Signature

`ProductOptionValue`

## Fields

* `id`

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

  A universally unique identifier.

* `name`

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

  The name used for the product option value.

## Schema Definition

```graphql
type ProductOptionValue { 
	id: ID!
	name: String! 
}
```

## Field from

* [ProductOption](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-option.md).optionValues

  Option values return all the corresponding option value objects for the product option.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

