Skip to main content
Version: 3.x

UpdateMetadata

Updates metadata of an object. To use it, you need to have access to the modified object.

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

Fields

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

DEPRECATED

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

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

UpdateMetadata.item ● ObjectWithMetadata interface

Returned by

updateMetadata mutation


Was this page helpful?