Skip to main content

updateMetadata

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

updateMetadata(
id: ID!
input: [MetadataInput!]!
): UpdateMetadata

Arguments

updateMetadata.id ● ID! non-null scalar

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

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

Fields required to update the object's metadata.

Type

UpdateMetadata object

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