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.
Anchor to FieldsFields
- Anchor to createdAtcreated•
At 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.
- Anchor to namespacenamespace•String!non-null
The namespace of the private metafield.
- Anchor to updatedAtupdated•
At DateTime! non-null The date and time when the private metafield was updated.
- Anchor to valuevalue•String!non-null
The value of a private metafield.
- Anchor to valueTypevalue•
Type PrivateMetafield non-nullValue Type! Represents the private metafield value type.
Map
Fields and connections with this object
PrivateMetafield Queries
Anchor to MutationsMutations
- •mutationDeprecated
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.