Skip to main content

AttributeValueInput Input Type

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

AttributeValueInput.id ● ID scalar miscellaneous

ID of the selected attribute.

AttributeValueInput.externalReference ● String scalar miscellaneous

External ID of this attribute.

AttributeValueInput.values ● [String!] list scalar miscellaneous

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 attributes

Attribute value ID or external reference.

AttributeValueInput.swatch ● AttributeValueSelectableTypeInput input attributes

Attribute value ID or external reference.

AttributeValueInput.multiselect ● [AttributeValueSelectableTypeInput!] list input attributes

List of attribute value IDs or external references.

AttributeValueInput.numeric ● String scalar miscellaneous

Numeric value of an attribute.

AttributeValueInput.file ● String scalar miscellaneous

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

AttributeValueInput.contentType ● String scalar miscellaneous

File content type.

AttributeValueInput.references ● [ID!] list scalar miscellaneous

List of entity IDs that will be used as references.

AttributeValueInput.richText ● JSONString scalar miscellaneous

Text content in JSON format.

AttributeValueInput.plainText ● String scalar miscellaneous

Plain text content.

AttributeValueInput.boolean ● Boolean scalar miscellaneous

Represents the boolean value of the attribute value.

AttributeValueInput.date ● Date scalar miscellaneous

Represents the date value of the attribute value.

AttributeValueInput.dateTime ● DateTime scalar miscellaneous

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