Private Metafield
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•Date
At Time! 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•Date
At Time! 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•Private
Type Metafield Value Type! non-null Represents the private metafield value type.
Anchor to QueriesQueries
Deprecated queries
- •queryDeprecated
- •queryDeprecated
Anchor to MutationsMutations
- •mutationDeprecated
- Anchor to inputinput•Private
Metafield Input! required Specifies the input fields for the private metafield.
Arguments
- Anchor to privateMetafieldprivate•Private
Metafield Metafield The private metafield that was created or updated.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Fields