Skip to main content

updateContact

Requires a customer (portal or buyer app) session.

Edit a person on the buyer's account.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation UpdateContact($input: UpdateMobileContactInput!) {
updateContact(input: $input) {
id
name
title
firstName
lastName
department
}
}

Variables:

{
"input": {
"id": "id"
}
}

Response:

{
"data": {
"updateContact": {
"id": "id",
"name": "string",
"title": "string",
"firstName": "string",
"lastName": "string",
"department": "string"
}
}
}
updateContact(
input: UpdateMobileContactInput!
): MobileContact!

Arguments​

updateContact.input ● UpdateMobileContactInput! non-null input​

The fields of the mobile contact to change.

Type​

MobileContact object​

A person on the buyer's account (name + optional title/email/phone).