AttributeValueInput
Represents an attribute value for product/collection custom fields.
input AttributeValueInput {
id: ID
values: [String!]
file: Upload
fileUrl: String
contentType: String
references: [ID!]
richText: String
boolean: Boolean
date: String
dateTime: DateTime
amount: Decimal
currency: String
plainText: String
reference: String
value: String
}
Fields
AttributeValueInput.id ● ID scalar
The ID of the attribute.
AttributeValueInput.values ● [String!] list scalar
The value or slug of an attribute to resolve.
AttributeValueInput.file ● Upload scalar
File for FILE attribute type.
AttributeValueInput.fileUrl ● String scalar
URL of a file attribute type.
AttributeValueInput.contentType ● String scalar
File content type.
AttributeValueInput.references ● [ID!] list scalar
List of entity IDs for REFERENCE attribute types.
AttributeValueInput.richText ● String scalar
Rich text value for RICH_TEXT attribute type.
AttributeValueInput.boolean ● Boolean scalar
Boolean value for BOOLEAN attribute type.
AttributeValueInput.date ● String scalar
Date value for DATE attribute type (YYYY-MM-DD format).
AttributeValueInput.dateTime ● DateTime scalar
Datetime value for DATE_TIME attribute type.
AttributeValueInput.amount ● Decimal scalar
Amount value for MONEY attribute type.
AttributeValueInput.currency ● String scalar
Currency code for MONEY attribute type.
AttributeValueInput.plainText ● String scalar
Plain text value for PLAIN_TEXT attribute type.
AttributeValueInput.reference ● String scalar
Reference ID for REFERENCE attribute type.
AttributeValueInput.value ● String scalar
The value or slug of an attribute to resolve.
Member Of
CategoryInput input ● CollectionCreateInput input ● CollectionInput input ● CustomerInput input ● OrderFulfillInput input ● ProductBulkCreateInput input ● ProductCreateInput input ● ProductInput input ● ProductVariantBulkCreateInput input ● ProductVariantCreateInput input ● ProductVariantInput input ● StaffCreateInput input ● StaffUpdateInput input ● UserCreateInput input