Skip to main content
Log inSign up
Anchor to privateMetafieldDelete

privateMetafieldDelete

mutation

Deprecated. Metafields created using a reserved namespace are private by default. See our guide for [migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields).

Deletes a private metafield. Private metafields are automatically deleted when the app that created them is uninstalled.

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?