Skip to main content

AttributeUpdateInput

No description

input AttributeUpdateInput {
name: String
slug: String
updateValues: [AttributeValueUpdateInput!]
removeValues: [ID!]
addValues: [AttributeValueCreateInput!]
valueRequired: Boolean
isVariantOnly: Boolean
visibleInStorefront: Boolean
filterableInStorefront: Boolean
filterableInDashboard: Boolean
storefrontSearchPosition: Int
availableInGrid: Boolean
createdBy: String
isLocked: Boolean
}

Fields

AttributeUpdateInput.name ● String scalar

Name of an attribute displayed in the interface.

AttributeUpdateInput.slug ● String scalar

Internal representation of an attribute name.

AttributeUpdateInput.updateValues ● [AttributeValueUpdateInput!] list input

Existing values to be updated for this attribute.

AttributeUpdateInput.removeValues ● [ID!] list scalar

IDs of values to be removed from this attribute.

AttributeUpdateInput.addValues ● [AttributeValueCreateInput!] 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.

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

AttributeUpdateInput.availableInGrid ● Boolean scalar

Whether the attribute can be displayed in the admin product list.

AttributeUpdateInput.createdBy ● String scalar

ID of the Seller that created the Attribute, or null if Marketplace Operator

AttributeUpdateInput.isLocked ● Boolean scalar

Determines if sellers can create values for this attribute.

Member Of

attributeUpdate mutation

Was this page helpful?