Anchor to privateMetafieldUpsertprivate
mutationprivate Metafield Upsert
Deprecated.
Metafields created using a reserved namespace are private by default. See our guide for
migrating private metafields.
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.
Anchor to Arguments
Arguments
- Anchor to inputinput•Private
Metafield Input!required Specifies the input fields for the private metafield.
Was this section helpful?
- 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.
Was this section helpful?