AttributeUpdateInput
No description
input AttributeUpdateInput {
name: String
slug: String
unit: MeasurementUnitsEnum
removeValues: [ID!]
addValues: [AttributeValueUpdateInput!]
valueRequired: Boolean
isVariantOnly: Boolean
visibleInStorefront: Boolean
filterableInStorefront: Boolean
filterableInDashboard: Boolean
storefrontSearchPosition: Int
availableInGrid: Boolean
externalReference: String
}
Fields
AttributeUpdateInput.name ● String scalar
Name of an attribute displayed in the interface.
AttributeUpdateInput.slug ● String scalar
Internal representation of an attribute name.
AttributeUpdateInput.unit ● MeasurementUnitsEnum enum
The unit of attribute values.
AttributeUpdateInput.removeValues ● [ID!] list scalar
IDs of values to be removed from this attribute.
AttributeUpdateInput.addValues ● [AttributeValueUpdateInput!] list input
New values to be created for this attribute.
AttributeUpdateInput.valueRequired ● Boolean scalar
Whether the attribute requires values to be passed or not.
AttributeUpdateInput.isVariantOnly ● Boolean scalar
Whether the attribute is for variants only.
AttributeUpdateInput.visibleInStorefront ● Boolean scalar
Whether the attribute should be visible or not in storefront.
AttributeUpdateInput.filterableInStorefront ● Boolean scalar
Whether the attribute can be filtered in storefront.
DEPRECATED: this field will be removed in Saleor 4.0.
AttributeUpdateInput.filterableInDashboard ● Boolean scalar
Whether the attribute can be filtered in dashboard.
AttributeUpdateInput.storefrontSearchPosition ● Int scalar
The position of the attribute in the storefront navigation (0 by default).
DEPRECATED: this field will be removed in Saleor 4.0.
AttributeUpdateInput.availableInGrid ● Boolean scalar
Whether the attribute can be displayed in the admin product list.
DEPRECATED: this field will be removed in Saleor 4.0.
AttributeUpdateInput.externalReference ● String scalar
External ID of this product.
Added in Saleor 3.10
Member of
attributeUpdate mutation