Skip to main content

AttributeCreateInput

No description

input AttributeCreateInput {
inputType: AttributeInputTypeEnum
name: String!
slug: String
values: [AttributeValueCreateInput!]
valueRequired: Boolean
isVariantOnly: Boolean
visibleInStorefront: Boolean
filterableInStorefront: Boolean
filterableInDashboard: Boolean
storefrontSearchPosition: Int
availableInGrid: Boolean
createdBy: String
isLocked: Boolean
}

Fields

AttributeCreateInput.inputType ● AttributeInputTypeEnum enum

The input type to use for entering attribute values in the dashboard.

AttributeCreateInput.name ● String! non-null scalar

Name of an attribute displayed in the interface.

AttributeCreateInput.slug ● String scalar

Internal representation of an attribute name.

AttributeCreateInput.values ● [AttributeValueCreateInput!] list input

List of attribute's values.

AttributeCreateInput.valueRequired ● Boolean scalar

Whether the attribute requires values to be passed or not.

AttributeCreateInput.isVariantOnly ● Boolean scalar

Whether the attribute is for variants only.

AttributeCreateInput.visibleInStorefront ● Boolean scalar

Whether the attribute should be visible or not in storefront.

AttributeCreateInput.filterableInStorefront ● Boolean scalar

Whether the attribute can be filtered in storefront.

AttributeCreateInput.filterableInDashboard ● Boolean scalar

Whether the attribute can be filtered in dashboard.

AttributeCreateInput.storefrontSearchPosition ● Int scalar

The position of the attribute in the storefront navigation (0 by default).

AttributeCreateInput.availableInGrid ● Boolean scalar

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

AttributeCreateInput.createdBy ● String scalar

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

AttributeCreateInput.isLocked ● Boolean scalar

Determines if sellers can create values for this attribute.

Member Of

attributeCreate mutation

Was this page helpful?