Skip to main content
object

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.

•DateTime!non-null

The date and time when the private metafield was created.

•ID!non-null

The ID of the private metafield.

•String!non-null

The key name of the private metafield.

•String!non-null

The namespace of the private metafield.

•DateTime!non-null

The date and time when the private metafield was updated.

•String!non-null

The value of a private metafield.

•PrivateMetafieldValueType!non-null

Represents the private metafield value type.


Was this section helpful?

Deprecated queries


Was this section helpful?


Was this section helpful?

•interface

Was this section helpful?