AttributeValueInput Input Type
No description
input AttributeValueInput {
id: ID
externalReference: String
values: [String!] @deprecated
dropdown: AttributeValueSelectableTypeInput
swatch: AttributeValueSelectableTypeInput
multiselect: [AttributeValueSelectableTypeInput!]
numeric: String
file: String
contentType: String
reference: ID
references: [ID!]
richText: JSONString
plainText: String
boolean: Boolean
date: Date
dateTime: DateTime
}
Fields
id ● ID
ID of the selected attribute.
externalReference ● String
External ID of this attribute.
dropdown ● AttributeValueSelectableTypeInput
Attribute value ID or external reference.
swatch ● AttributeValueSelectableTypeInput
Attribute value ID or external reference.
multiselect ● [AttributeValueSelectableTypeInput!]
List of attribute value IDs or external references.
numeric ● String
Numeric value of an attribute.
file ● String
URL of the file attribute. Every time, a new value is created.
contentType ● String
File content type.
reference ● ID
ID of the referenced entity for single reference attribute.
Added in Saleor 3.22references ● [ID!]
List of entity IDs that will be used as references.
richText ● JSONString
Text content in JSON format.
plainText ● String
Plain text content.
boolean ● Boolean
Represents the boolean value of the attribute value.
date ● Date
Represents the date value of the attribute value.
dateTime ● DateTime
Represents the date/time value of the attribute value.
Show deprecated
Member Of
PageCreateInput input ● PageInput input ● ProductBulkCreateInput input ● ProductCreateInput input ● ProductInput input ● ProductVariantCreateInput input ● ProductVariantInput input