AttributeValueCreateInput Input Type
input AttributeValueCreateInput {
value: String
richText: JSONString @deprecated(reason: "The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")
plainText: String @deprecated(reason: "The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")
fileUrl: String
contentType: String
externalReference: String
name: String!
}
Fields
value
value · String
Represent value of the attribute value (e.g. color values for swatch attributes).
richText
richText · JSONString
Represents the text of the attribute value, includes formatting.
Rich text format. For reference see https://editorjs.io/
plainText
plainText · String
Represents the text of the attribute value, plain text without formatting.
fileUrl
fileUrl · String
URL of the file attribute. Every time, a new value is created.
contentType
contentType · String
File content type.
externalReference
externalReference · String
External ID of this attribute value.
name
name · String!
Name of a value displayed in the interface.
Used by
Schema: Saleor 3.23.43. Download SDL.