Skip to main content

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.

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

Fields

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

DEPRECATED

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

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

UpdatePrivateMetadata.item ● ObjectWithMetadata interface miscellaneous

Returned By

updatePrivateMetadata mutation