Skip to main content

updateContactMetadata

Adds or updates metadata using either key and value together, or a non-empty metadata array. Do not mix the two forms. Explicit null arguments, incomplete pairs and duplicate keys (after sanitisation) are rejected. Keys may contain at most 40 characters and values at most 500 characters. The resulting resource may contain at most 50 metadata keys; overwriting existing keys does not consume additional capacity. Unspecified keys are preserved. The entire batch succeeds or fails together.

updateContactMetadata(
contactId: ID!
key: String
value: String
metadata: [MetadataEntryInput!]
): ContactResponsePayload

Arguments​

updateContactMetadata.contactId ● ID! non-null scalar​

updateContactMetadata.key ● String scalar​

updateContactMetadata.value ● String scalar​

updateContactMetadata.metadata ● [MetadataEntryInput!] list input​

Type​

ContactResponsePayload object​

A contact in the application or the error related to the operation on the contact.