Skip to main content
Version: 3.x

AttributeValueCreateInput

No description

input AttributeValueCreateInput {
value: String
richText: JSONString
plainText: String
fileUrl: String
contentType: String
externalReference: String
name: String!
}

Fields

AttributeValueCreateInput.value ● String scalar

Represent value of the attribute value (e.g. color values for swatch attributes).

AttributeValueCreateInput.richText ● JSONString scalar

Represents the text of the attribute value, includes formatting.

Rich text format. For reference see https://editorjs.io/

DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.

AttributeValueCreateInput.plainText ● String scalar

Represents the text of the attribute value, plain text without formating.

DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.

AttributeValueCreateInput.fileUrl ● String scalar

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

AttributeValueCreateInput.contentType ● String scalar

File content type.

AttributeValueCreateInput.externalReference ● String scalar

External ID of this attribute value.

Added in Saleor 3.10

AttributeValueCreateInput.name ● String! non-null scalar

Name of a value displayed in the interface.

Member of

AttributeCreateInput input ● attributeValueCreate mutation


Was this page helpful?