Skip to main content
Version: Canary 🚧

updatePrivateMetadata

Updates private metadata of an object. To use it, you need to be an authenticated staff user or an app and have access to the modified object.

updatePrivateMetadata(
id: ID!
input: [MetadataInput!]!
): UpdatePrivateMetadata

Arguments

updatePrivateMetadata.id ● ID! non-null scalar

ID or token (for Order and Checkout) of an object to update.

updatePrivateMetadata.input ● [MetadataInput!]! non-null input

Fields required to update the object's metadata.

Type

UpdatePrivateMetadata object

Updates private metadata of an object. To use it, you need to be an authenticated staff user or an app and have access to the modified object.


Was this page helpful?