Docs
Dashboard

AttributeUpdateInput

Input

Input for updating an existing product attribute.

#

Fields


id
ID!

The identifier of the attribute to update.

metadata
[KeyValuePairOfStringAndStringInput!]

Optional updated metadata.

metafields
[MetafieldInput!]

The metafield values to add or update on the attribute. Existing metafields not included in the list are preserved. When explicitly specified as null, all assigned attribute metafields are removed.

name
String!

The new display name of the attribute.