Anchor to section titled 'undefined'

privateMetafieldUpsert
mutation
deprecated

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. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.


Specifies the input fields for the private metafield.


Was this section helpful?

The private metafield that was created or updated.

The list of errors that occurred from executing the mutation.


Was this section helpful?