Skip to main content
Anchor to MetafieldDefinitionUpdateInput

MetafieldDefinitionUpdateInput

input_object

The input fields required to update a metafield definition.

•MetafieldAccessUpdateInput

The access settings that apply to each of the metafields that belong to the metafield definition.

Show input fields
•MetafieldCapabilityUpdateInput

The capabilities of the metafield definition.

Show input fields
•MetafieldDefinitionConstraintsUpdatesInput

The constraints that determine what resources a metafield definition applies to.

Show input fields
•String

The description for the metafield definition.

•String!
non-null

The unique identifier for the metafield definition within its namespace. Used to help identify the metafield definition, but can't be updated itself.

•String

The human-readable name for the metafield definition.

•String

The container for a group of metafields that the metafield definition is associated with. Used to help identify the metafield definition, but can't be updated itself. If omitted, the app-reserved namespace will be used.

•MetafieldOwnerType!
non-null

The resource type that the metafield definition is attached to. Used to help identify the metafield definition, but can't be updated itself.

Show enum values
•Boolean

Whether to pin the metafield definition.

•[MetafieldDefinitionValidationInput!]

A list of validation options for the metafields that belong to the metafield definition. For example, for a metafield definition with the type date, you can set a minimum date validation so that each of the metafields that belong to it can only store dates after the specified minimum.

Show input fields
Anchor to useAsCollectionConditionuseAsCollectionCondition
•Boolean
DeprecatedDefault:false

Was this section helpful?