Skip to main content

ProductUpdateAttributeDefinitionInput

No description

input ProductUpdateAttributeDefinitionInput {
attributeClass: ProductAttributeClassEnum @deprecated
attributeGroup: String
delete: Boolean
description: String
handle: String
id: ID!
name: String
settings: ProductAttributeDefinitionSettingsInput
}

Fields

ProductUpdateAttributeDefinitionInput.attributeClass ● ProductAttributeClassEnum deprecated enum products

DEPRECATED

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

ProductUpdateAttributeDefinitionInput.attributeGroup ● String scalar common

Optional group name for organizing this attribute definition into a section. Set to null to clear.

ProductUpdateAttributeDefinitionInput.delete ● Boolean scalar common

Set to true to delete the attribute definition.

ProductUpdateAttributeDefinitionInput.description ● String scalar common

Brief description of the attribute.

ProductUpdateAttributeDefinitionInput.handle ● String scalar common

A unique handle for the attribute (lowercase, hyphenated slug format like 'my-attribute'). Used to update an attribute by handle instead of ID.

**WARNING**: Changing the handle may break references that use it externally. However, product attribute values remain intact as they are mapped by attribute definition ID, not by handle.

ProductUpdateAttributeDefinitionInput.id ● ID! non-null scalar common

ProductUpdateAttributeDefinitionInput.name ● String scalar common

Name of the attribute.

ProductUpdateAttributeDefinitionInput.settings ● ProductAttributeDefinitionSettingsInput input products

Member Of

UpdateProductAttributeDefinitionsInput input