Skip to Content

CustomizationGroupOptionInput

Input for adding merchandise lines with customizations to the cart.

Input Definition

input CustomizationGroupOptionInput { id: String! value: String! }

Fields

FieldTypeRequiredDescription
idStringYesThe unique identifier for the customization group option. Accepts GraphQL canonical format (e.g. “1-27013-5-317”) or Liquid format (e.g. “27013p317”). For radio/checkbox options, pass the selected option ID as the value instead.
valueStringYesThe value of the customization option. For text-based options, pass the user-entered text. For radio/checkbox options, pass the selected option ID (in GraphQL or Liquid format).

Example

mutation { addToCart(input: { customizationGroupOption: { id: "27013p317" value: "Custom Text Value" } }) { cart { id } } }

No related types documented.