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 privateMetafieldDelete

privateMetafieldDelete

mutationDeprecated

Deletes a private metafield. Private metafields are automatically deleted when the app that created them is uninstalled. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.

The input fields for the private metafield to delete.


Was this section helpful?

Anchor to PrivateMetafieldDeletePayload returnsPrivateMetafieldDeletePayload returns

Anchor to deletedPrivateMetafieldIddeletedPrivateMetafieldId

The ID of private metafield that was deleted.

The list of errors that occurred from executing the mutation.


Was this section helpful?