Skip to main content

ProductAttributeDefinitionInput

No description

input ProductAttributeDefinitionInput {
attributeClass: ProductAttributeClassEnum @deprecated
attributeGroup: String
attributeType: ProductAttributeTypeEnum!
description: String
handle: String
name: String!
settings: ProductAttributeDefinitionSettingsInput
}

Fields

ProductAttributeDefinitionInput.attributeClass ● ProductAttributeClassEnum deprecated enum products

DEPRECATED

This argument will be removed in the future. Use settings { useInFilters, showInProductList, favorite } instead.

ProductAttributeDefinitionInput.attributeGroup ● String scalar common

Optional group name for organizing this attribute definition into a section.

ProductAttributeDefinitionInput.attributeType ● ProductAttributeTypeEnum! non-null enum products

References the attribute value type. This value type is immutable.

ProductAttributeDefinitionInput.description ● String scalar common

Brief description of the attribute to be added.

ProductAttributeDefinitionInput.handle ● String scalar common

A unique handle for the attribute (lowercase, hyphenated slug format like 'my-attribute'). Auto-generated from name if not provided.

ProductAttributeDefinitionInput.name ● String! non-null scalar common

Name of the attribute to be added.

ProductAttributeDefinitionInput.settings ● ProductAttributeDefinitionSettingsInput input products

Member Of

AddProductAttributeDefinitionsInput input