Skip to main content
Version: Canary 🚧


No description

input AttributeValueInput {
id: ID
externalReference: String
values: [String!]
dropdown: AttributeValueSelectableTypeInput
swatch: AttributeValueSelectableTypeInput
multiselect: [AttributeValueSelectableTypeInput!]
numeric: String
file: String
contentType: String
references: [ID!]
richText: JSONString
plainText: String
boolean: Boolean
date: Date
dateTime: DateTime

Fields ● ID scalar

ID of the selected attribute.

AttributeValueInput.externalReference ● String scalar

External ID of this attribute.

Added in Saleor 3.14

AttributeValueInput.values ● [String!] list scalar

The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. This field will be removed in Saleor 4.0.

AttributeValueInput.dropdown ● AttributeValueSelectableTypeInput input

Attribute value ID or external reference.

Added in Saleor 3.9 ● AttributeValueSelectableTypeInput input

Attribute value ID or external reference.

Added in Saleor 3.9

AttributeValueInput.multiselect ● [AttributeValueSelectableTypeInput!] list input

List of attribute value IDs or external references.

Added in Saleor 3.9

AttributeValueInput.numeric ● String scalar

Numeric value of an attribute.

Added in Saleor 3.9

AttributeValueInput.file ● String scalar

URL of the file attribute. Every time, a new value is created.

AttributeValueInput.contentType ● String scalar

File content type.

AttributeValueInput.references ● [ID!] list scalar

List of entity IDs that will be used as references.

AttributeValueInput.richText ● JSONString scalar

Text content in JSON format.

AttributeValueInput.plainText ● String scalar

Plain text content.

AttributeValueInput.boolean ● Boolean scalar

Represents the boolean value of the attribute value. ● Date scalar

Represents the date value of the attribute value.

AttributeValueInput.dateTime ● DateTime scalar

Represents the date/time value of the attribute value.

Member of

PageCreateInput input ● PageInput input ● ProductBulkCreateInput input ● ProductCreateInput input ● ProductInput input ● ProductVariantCreateInput input ● ProductVariantInput input

Was this page helpful?