Skip to main content

BulkAttributeValueInput Input Type

No description

input BulkAttributeValueInput {
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.

Attribute value ID.

swatch ● AttributeValueSelectableTypeInput

Attribute value ID.

multiselect ● [AttributeValueSelectableTypeInput!]

List of attribute value IDs.

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.22

references ● [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

The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created.

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

ProductVariantBulkCreateInput input ● ProductVariantBulkUpdateInput input