Skip to main content

ProductUpdateAttributeDefinitionInput

No description

input ProductUpdateAttributeDefinitionInput {
attributeClass: ProductAttributeClassEnum @deprecated
attributeGroup: String
delete: Boolean
description: String
handle: String
id: ID!
name: String
restore: Boolean
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 archive 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​

The ID of the attribute definition to update.

ProductUpdateAttributeDefinitionInput.name ● String scalar common​

Name of the attribute.

ProductUpdateAttributeDefinitionInput.restore ● Boolean scalar common​

Set to true to restore an archived attribute definition.

ProductUpdateAttributeDefinitionInput.settings ● ProductAttributeDefinitionSettingsInput input products​

Member Of​

UpdateProductAttributeDefinitionsInput input