Home > @infiniteobjects/shopify-data-manager > AdminTypes > Mutation > privateMetafieldUpsert
Warning: This API is now obsolete.
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).
Creates or updates a private metafield. Use private metafields when you don’t want the metafield data to be accessible by merchants or other apps. Private metafields are accessible only by the application that created them and only from the GraphQL Admin API.
An application can create a maximum of 10 private metafields per shop resource.
Signature:
privateMetafieldUpsert?: Maybe<PrivateMetafieldUpsertPayload>;