--- title: OptionSetInput - GraphQL Admin description: The input fields for creating or updating a product option. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OptionSetInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OptionSetInput.txt --- # Option​Set​Input input\_object The input fields for creating or updating a product option. ## Fields * id [ID](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) Specifies the product option to update. * linked​Metafield [Linked​Metafield​Create​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/LinkedMetafieldCreateInput) Specifies the metafield the option is linked to. * name [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) Name of the option. * position [Int](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/Int) Position of the option. * values [\[Option​Value​Set​Input!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OptionValueSetInput) Value associated with an option. *** ## Input objects using this input * [Product​Set​Input.​product​Options](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductSetInput#field-productOptions) INPUT OBJECT The input fields required to create or update a product via ProductSet mutation. *** ## Map ### Input objects using this input * [Product​Set​Input.productOptions](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ProductSetInput#field-productOptions)