Anchor to PrivateMetafieldValueTypePrivate
enumPrivate Metafield Value Type
Supported private metafield value types.
Anchor to Valid valuesValid values
- Anchor to INTEGERINTEGER
An integer metafield.
- Anchor to JSON_STRINGJSON_
STRING A JSON string metafield.
- Anchor to STRINGSTRING
A string metafield.
Was this section helpful?
Anchor to FieldsFields
- •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?