AttributeSelectionInput
A configurator selection on a cart line — server-side validated against the product attribute definition. The value goes into one of optionId, optionIds or textValue depending on the attribute type.
input AttributeSelectionInput {
attributeDefinitionId: ID!
optionId: ID
optionIds: [ID!]
textValue: String
}
Fields
AttributeSelectionInput.attributeDefinitionId ● ID! non-null scalar
ID of the attribute definition this selection refers to.
AttributeSelectionInput.optionId ● ID scalar
Selected option ID for single-choice attribute types (SELECT, RADIO, single-CHECKBOX).
AttributeSelectionInput.optionIds ● [ID!] list scalar
Ticked option IDs for a multi-answer field. Each entry becomes its own selection on the line — with its own label, surcharge and, for stock components, its own order line and reservation. Send this OR optionId, never both.
AttributeSelectionInput.textValue ● String scalar
Free-text value for TEXT, TEXTAREA, NUMBER or DATE attribute types (max 2000 chars).
Member Of
CartLineInput input ● CartLineUpdateInput input