Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to metafieldDefinitionDelete

metafieldDefinitionDelete

mutation

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

Delete a metafield definition. Optionally deletes all associated metafields asynchronously when specified.

Anchor to deleteAllAssociatedMetafieldsdeleteAllAssociatedMetafields
BooleanDefault:false

Whether to delete all associated metafields.

ID!required

The id of the metafield definition to delete.


Was this section helpful?

Anchor to MetafieldDefinitionDeletePayload returnsMetafieldDefinitionDeletePayload returns

The ID of the deleted metafield definition.

The list of errors that occurred from executing the mutation.


Was this section helpful?