Skip to main content

updatePrivateMetadata Mutation

Updates private metadata of an object. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

updatePrivateMetadata(
id: ID!
input: [MetadataInput!]!
): UpdatePrivateMetadata

Arguments

updatePrivateMetadata.id ● ID! non-null scalar miscellaneous

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

updatePrivateMetadata.input ● [MetadataInput!]! non-null input miscellaneous

Fields required to update the object's metadata.

Type

UpdatePrivateMetadata object miscellaneous

Updates private metadata of an object. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.