Change a speaker
updateSpeaker takes gatheringId, the id of the speaker, and a SpeakerUpdateParams value in speaker. All fields are optional. An update changes only the fields that you send.
mutation UpdateSpeaker($gatheringId: Int!, $id: Int!) {
updateSpeaker(
gatheringId: $gatheringId
id: $id
speaker: { jobTitle: "Vice president of engineering" }
) {
id
firstName
lastName
jobTitle
}
}
{
"data": {
"updateSpeaker": {
"id": "301",
"firstName": "Avery",
"lastName": "Stone",
"jobTitle": "Vice president of engineering"
}
}
}
This article is a copy of Speakers in the Touchpoint API documentation.
Comments
0 comments
Please sign in to leave a comment.