Skip to main content
query
Deprecated.
Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields. This will be removed in 2025-01.

Returns a PrivateMetafield resource by ID.

•ID!
required

The ID of the PrivateMetafield to return.


Was this section helpful?

•PrivateMetafield

Private metafields represent custom metadata that is attached to a resource. 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.

Private metafields are deprecated. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.


Was this section helpful?