Mutation
mutation UpdateContactConsent($input: UpdateContactConsentInput!) {
updateContactConsent(input: $input) {
id
firstName
lastName
email
phoneNumber
contactSince
}
}Variables
{
"input": {
"recordId": "id"
}
}Response
{
"data": {
"updateContactConsent": {
"id": "id",
"firstName": "string",
"lastName": "string",
"email": "string",
"phoneNumber": "string",
"contactSince": "value"
}
}
}Mutations
updateContactConsent
MUTATION
updateContactConsent(input: UpdateContactConsentInput!): Contact!Arguments
input
required
Returns
id
ID!
firstName
String!
lastName
String!
email
String
phoneNumber
String
contactSince
Date
updatesSmsConsentedAt
DateTime
updatesEmailConsentedAt
DateTime
marketingSmsConsentedAt
DateTime
marketingEmailConsentedAt
DateTime
number
Int!
flaggedAt
DateTime
flaggedReason
String
leadSource
String
leadSourceOther
String
estimatorAssignmentSource
String
insertedAt
DateTime!
addressId
ID
estimatorProfileId
ID
csrUserId
ID
duplicateOfContactId
ID
address
estimatorProfile
csrUser
duplicateOfContact
contactProperties
[ContactProperty!]!
Arguments
limit
Int
The number of records to return.
offset
Int
The number of records to skip.
emails
[ContactEmail!]!
Arguments
limit
Int
The number of records to return.
offset
Int
The number of records to skip.
phoneNumbers
Arguments
limit
Int
The number of records to return.
offset
Int
The number of records to skip.
duplicateContacts
[Contact!]!
Arguments
limit
Int
The number of records to return.
offset
Int
The number of records to skip.
companies
[Company!]!
Arguments
limit
Int
The number of records to return.
offset
Int
The number of records to skip.
Mutation
mutation UpdateContactConsent($input: UpdateContactConsentInput!) {
updateContactConsent(input: $input) {
id
firstName
lastName
email
phoneNumber
contactSince
}
}Variables
{
"input": {
"recordId": "id"
}
}Response
{
"data": {
"updateContactConsent": {
"id": "id",
"firstName": "string",
"lastName": "string",
"email": "string",
"phoneNumber": "string",
"contactSince": "value"
}
}
}