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.

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

Arguments

id (ID!)

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

input ([MetadataInput!]!)

Fields required to update the object's metadata.

Type

UpdateMetadata

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