Anchor to OptionSetInputOption
input_objectOption Set Input
The input fields for creating or updating a product option.
Anchor to FieldsFields
- id (ID)
- linkedMetafield (LinkedMetafieldCreateInput)
- name (String)
- position (Int)
- values ([OptionValueSetInput!])
- •ID
Specifies the product option to update.
- Anchor to linkedMetafieldlinked•Linked
Metafield Metafield Create Input Specifies the metafield the option is linked to.
- Anchor to namename•String
Name of the option.
- Anchor to positionposition•Int
Position of the option.
- Anchor to valuesvalues•[Option
Value Set Input!] Value associated with an option.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The input fields for creating or updating a gift card product with the
mutation.For list fields like
variants, the mutation creates new entries, updates existing ones, and deletes any entries not included in the input. All other fields update only when explicitly provided, leaving omitted fields unchanged.- •INPUT OBJECT
The input fields required to create or update a product via ProductSet mutation.
Was this section helpful?