---
title: OptionAndValueInput - GraphQL Admin
description: The input fields for the options and values of the combined listing.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/optionandvalueinput
  md: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/optionandvalueinput.md
---

# OptionAndValueInput

input\_object

The input fields for the options and values of the combined listing.

## Fields

* linkedMetafield

  [LinkedMetafieldInput](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/LinkedMetafieldInput)

  The linked metafield for the product's option.

* name

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The name of the Product's Option.

* optionId

  [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  The ID of the option to update. If not present, the option will be created.

* values

  [\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The ordered values of the Product's Option.

***

## Mutations using this input

* [combinedListingUpdate.optionsAndValues](https://shopify.dev/docs/api/admin-graphql/latest/mutations/combinedListingUpdate#arguments-optionsAndValues)

  ARGUMENT

***

## Map

### Mutations using this input

* [combinedListingUpdate.optionsAndValues](https://shopify.dev/docs/api/admin-graphql/latest/mutations/combinedListingUpdate#arguments-optionsAndValues)