AttributeUpdateInput
Input for updating an attribute
input AttributeUpdateInput {
name: String
slug: String
unit: String
removeValues: [ID!]
addValues: [AttributeValueCreateInput!]
valueRequired: Boolean
isVariantOnly: Boolean
visibleInStorefront: Boolean
filterableInStorefront: Boolean
filterableInDashboard: Boolean
storefrontSearchPosition: Int
availableInGrid: Boolean
createdBy: String
isLocked: Boolean
updateValues: [AttributeValueUpdateInput!]
}
Fields
AttributeUpdateInput.name ● String scalar
Name of the attribute.
AttributeUpdateInput.slug ● String scalar
Slug of the attribute.
AttributeUpdateInput.unit ● String scalar
The measurement unit for this attribute.
AttributeUpdateInput.removeValues ● [ID!] list scalar
IDs of values to remove.
AttributeUpdateInput.addValues ● [AttributeValueCreateInput!] list input
New values to be created for this attribute.
AttributeUpdateInput.valueRequired ● Boolean scalar
Whether a value is required.
AttributeUpdateInput.isVariantOnly ● Boolean scalar
Whether this is variant-only.
AttributeUpdateInput.visibleInStorefront ● Boolean scalar
Whether visible in storefront.
AttributeUpdateInput.filterableInStorefront ● Boolean scalar
Whether filterable in storefront.
AttributeUpdateInput.filterableInDashboard ● Boolean scalar
Whether filterable in dashboard.
AttributeUpdateInput.storefrontSearchPosition ● Int scalar
Search position in storefront.
AttributeUpdateInput.availableInGrid ● Boolean scalar
Whether available in grid view.
AttributeUpdateInput.createdBy ● String scalar
User ID who created the attribute.
AttributeUpdateInput.isLocked ● Boolean scalar
Whether the attribute is locked from editing.
AttributeUpdateInput.updateValues ● [AttributeValueUpdateInput!] list input
Existing values to be updated for this attribute.
Member Of
attributeUpdate mutation