Skip to main content
Anchor to metafieldDefinitionUpdate

metafieldDefinitionUpdate

mutation

Requires API client to have access to the namespace and the resource type associated with the metafield definition.

Updates a metafield definition.

•MetafieldDefinitionUpdateInput!
required

The input fields for the metafield definition update.


Was this section helpful?

Anchor to MetafieldDefinitionUpdatePayload returnsMetafieldDefinitionUpdatePayload returns

•MetafieldDefinition

The metafield definition that was updated.

•[MetafieldDefinitionUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•Job

The asynchronous job updating the metafield definition's validation_status.


Was this section helpful?