Skip to main content
Version: 3.x


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.

type UpdatePrivateMetadata {
metadataErrors: [MetadataError!]! @deprecated
errors: [MetadataError!]!
item: ObjectWithMetadata


UpdatePrivateMetadata.metadataErrors ● [MetadataError!]! deprecated non-null object


This field will be removed in Saleor 4.0. Use errors field instead.

UpdatePrivateMetadata.errors ● [MetadataError!]! non-null object

UpdatePrivateMetadata.item ● ObjectWithMetadata interface

Returned by

updatePrivateMetadata mutation

Was this page helpful?