Skip to main content
Anchor to PrivateMetafieldValueType

PrivateMetafieldValueType

enum

Supported private metafield value types.

An integer metafield.

A JSON string metafield.

A string metafield.


Was this section helpful?

•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.

•INPUT OBJECT

The input fields for the value and value type of the private metafield.


Was this section helpful?